:root {
    --bg: #0a0a0a;
    --surface: #1a1a1a;
    --surface-light: #2a2a2a;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #059669;
    --accent-hover: #047857;
    --text: #ffffff;
    --text-muted: #a1a1aa;
    --text-light: #e4e4e7;
    --border: #374151;
    --border-light: #4b5563;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.5);
    --purple: #8b5cf6;
    --orange: #f97316;
    --pink: #ec4899;
    --cyan: #06b6d4;
    --yellow: #eab308;
    --red: #ef4444;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-1col {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3col {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
}

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

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Icons */
.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.icon-accent {
    color: var(--accent);
}

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

.icon-contrast {
    color: var(--text-light);
}

.icon-colorful-1 { color: var(--purple); }
.icon-colorful-2 { color: var(--orange); }
.icon-colorful-3 { color: var(--pink); }
.icon-colorful-4 { color: var(--cyan); }
.icon-colorful-5 { color: var(--yellow); }
.icon-colorful-6 { color: var(--red); }
.icon-colorful-7 { color: var(--primary); }
.icon-colorful-8 { color: var(--accent); }
.icon-colorful-9 { color: var(--warning); }

/* Cards */
.card {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow-lg);
    border-color: var(--primary);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 1rem 0;
}

.nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid var(--border);
    }
    
    .nav-menu.active {
        display: flex;
    }
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Animation */
.hero-animation {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.star {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

.star:nth-child(1) {
    width: 3px;
    height: 3px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    width: 2px;
    height: 2px;
    top: 30%;
    left: 80%;
    animation-delay: 0.5s;
}

.star:nth-child(3) {
    width: 4px;
    height: 4px;
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

.star:nth-child(4) {
    width: 2px;
    height: 2px;
    top: 80%;
    left: 70%;
    animation-delay: 1.5s;
}

.star:nth-child(5) {
    width: 3px;
    height: 3px;
    top: 10%;
    left: 60%;
    animation-delay: 2s;
}

.star:nth-child(6) {
    width: 2px;
    height: 2px;
    top: 70%;
    left: 90%;
    animation-delay: 2.5s;
}

.star:nth-child(7) {
    width: 4px;
    height: 4px;
    top: 40%;
    left: 5%;
    animation-delay: 0.8s;
}

.star:nth-child(8) {
    width: 3px;
    height: 3px;
    top: 90%;
    left: 40%;
    animation-delay: 1.2s;
}

.star:nth-child(9) {
    width: 2px;
    height: 2px;
    top: 15%;
    left: 85%;
    animation-delay: 1.8s;
}

.star:nth-child(10) {
    width: 3px;
    height: 3px;
    top: 50%;
    left: 95%;
    animation-delay: 0.3s;
}

.floating-elements {
    position: relative;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    color: var(--primary);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: -50px;
    left: -100px;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 50px;
    right: -80px;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: -30px;
    left: 50px;
    animation-delay: 4s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
        opacity: 0.8;
    }
    66% {
        transform: translateY(10px) rotate(240deg);
        opacity: 0.4;
    }
}

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Benefit Cards */
.benefit-card {
    text-align: center;
}

.benefit-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

/* Step Cards */
.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

/* Plan Cards */
.plan-card {
    position: relative;
    text-align: center;
}

.plan-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.plan-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.plan-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* App Cards */
.app-card {
    text-align: center;
    padding: 1.5rem;
}

.app-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
}

.app-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.app-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Category Cards */
.category-card {
    text-align: center;
    padding: 1.5rem;
}

.category-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
}

.category-card h3 {
    font-size: 1.25rem;
    color: var(--text);
}

/* Testimonial Cards */
.testimonial-card {
    text-align: center;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.author {
    font-weight: 600;
    color: var(--text-muted);
}

/* Counter Cards */
.counter-card {
    text-align: center;
    padding: 2rem;
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.faq-question {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1.5rem 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* CTA Section */
.cta-final {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-final h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-brand {
    font-family: 'Orbitron', 'Exo 2', 'Rajdhani', monospace;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Page Header */
.page-header {
    background: var(--surface);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text);
    text-align: left;
}

.content-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: var(--text);
}

.content-wrapper p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.content-wrapper ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-light);
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

.content-wrapper a {
    color: var(--primary);
    text-decoration: none;
}

.content-wrapper a:hover {
    text-decoration: underline;
}

.cta-section {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    border: 1px solid var(--border);
}

.cta-section h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* Focus States */
.btn:focus,
.faq-question:focus,
.menu-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .star,
    .floating-icon {
        animation: none !important;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-animation {
        height: 300px;
    }
    
    .floating-icon {
        display: none;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .grid {
        gap: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}