:root {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: rgba(255, 255, 255, 0.1);
    --secondary-hover: rgba(255, 255, 255, 0.15);
    --accent: #8b5cf6;
    --card-bg: rgba(30, 41, 59, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Background Blobs */
.blob-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, rgba(15,23,42,0) 70%);
    top: -200px;
    left: -200px;
    border-radius: 50%;
    z-index: -1;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-2 {
    background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, rgba(15,23,42,0) 70%);
    top: 20%;
    right: -200px;
    left: auto;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-cta {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--secondary);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--secondary-hover);
}

/* Typography & General */
h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 48px;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-demo {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    width: 100%;
    margin-top: 24px;
}

.btn-demo:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-demo-reset {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    margin-top: 24px;
    width: 100%;
}

.btn-demo-reset:hover {
    background: var(--secondary);
    color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Glass Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 60px 0;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hook-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Demo Card */
.demo-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 420px;
}

.demo-header {
    background: rgba(15, 23, 42, 0.8);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #475569;
}

.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #f59e0b; }
.dots span:nth-child(3) { background: #10b981; }

.demo-title {
    margin-left: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.demo-state {
    padding: 40px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
}

.demo-state.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Audio Wave Animation */
.audio-wave {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 60px;
    margin-bottom: 24px;
}

.audio-wave .bar {
    width: 8px;
    background: var(--primary);
    border-radius: 4px;
    animation: wave 1s infinite ease-in-out alternate;
}

.audio-wave .bar:nth-child(1) { height: 20px; animation-delay: 0.1s; }
.audio-wave .bar:nth-child(2) { height: 40px; animation-delay: 0.2s; }
.audio-wave .bar:nth-child(3) { height: 60px; animation-delay: 0.3s; }
.audio-wave .bar:nth-child(4) { height: 30px; animation-delay: 0.4s; }
.audio-wave .bar:nth-child(5) { height: 50px; animation-delay: 0.5s; }
.audio-wave .bar:nth-child(6) { height: 25px; animation-delay: 0.6s; }

@keyframes wave {
    0% { height: 10px; }
    100% { height: 60px; }
}

/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--secondary);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text-muted);
    font-style: italic;
}

/* Checklist Result */
.success-icon {
    font-size: 48px;
    color: var(--success);
    margin-bottom: 16px;
}

.result-title {
    margin-bottom: 24px;
    font-size: 20px;
}

.checklist {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(15, 23, 42, 0.5);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.check-item.show {
    opacity: 1;
    transform: translateX(0);
}

.check-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-muted);
    border-radius: 6px;
    flex-shrink: 0;
}

.check-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton {
    height: 8px;
    background: var(--secondary);
    border-radius: 4px;
}

.skeleton-long { width: 100%; }
.skeleton-medium { width: 70%; }
.skeleton-short { width: 40%; }

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.premium {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 32px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.price-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.price {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}

.price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
}

.features li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.features i {
    color: var(--success);
}

/* Terms Section */
.terms-section {
    margin: 100px 0;
}

.terms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.term-item {
    display: flex;
    gap: 24px;
}

.term-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.term-text h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.term-text p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 100px 0 40px;
    text-align: center;
}

.footer-cta {
    margin-bottom: 80px;
}

.footer-cta h2 {
    font-size: 36px;
    margin-bottom: 32px;
}

.placeholder-hint {
    margin-top: 16px;
    color: var(--text-muted);
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

/* Demo Auto Animation */
.fake-cursor {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 60px;
    left: 80%;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.btn-pressed {
    filter: brightness(1.1);
    transform: scale(0.95) !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
}

@keyframes moveCursor {
    0% {
        opacity: 0;
        top: 80px;
        left: 80%;
        transform: scale(1.2);
    }
    20% {
        opacity: 1;
        transform: scale(1);
    }
    80% {
        top: 20px;
        left: 50%;
        opacity: 1;
        transform: scale(1);
    }
    90% {
        top: 20px;
        left: 50%;
        opacity: 1;
        transform: scale(0.9);
    }
    100% {
        top: 20px;
        left: 50%;
        opacity: 0;
        transform: scale(0.9);
    }
}

.page-wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    min-height: 100vh;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 32px;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    h1 {
        font-size: 40px;
    }
    
    .pricing-cards, .terms-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .pricing-cards, .terms-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        padding: 16px 20px;
    }
    
    h1 {
        font-size: 32px;
        word-break: break-word;
    }
    
    .price {
        font-size: 30px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .glass-card, .price-card, .demo-state {
        padding: 24px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .btn-large {
        padding: 14px 20px;
        font-size: 16px;
    }

    .demo-card {
        height: auto;
        min-height: 420px;
    }
    
    .footer-cta h2 {
        font-size: 28px;
    }
    
    .blob-bg {
        width: 400px;
        height: 400px;
    }
}
