:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --accent: #00d4aa;
    --accent-hover: #00b894;
    --accent-light: #00f5cc;
    --border: #333333;
    --border-light: #444444;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, var(--accent), var(--accent-hover));
    --gradient-bg: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    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;
}

.grid-2col {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3col {
    grid-template-columns: repeat(auto-fit, minmax(300px, 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);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn:hover::before {
    left: 100%;
}

.btn:focus {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--gradient-primary);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: var(--bg-card);
    color: var(--accent);
}

.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-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Sections */
.section {
    padding: 4rem 0;
}

.bg-secondary {
    background: var(--bg-secondary);
}

/* Hero */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.stars::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    box-shadow: 
        100px 200px 0 var(--accent-light),
        200px 100px 0 #ffffff,
        300px 300px 0 var(--accent),
        400px 150px 0 #ffffff,
        500px 250px 0 var(--accent-light),
        150px 350px 0 var(--accent),
        250px 50px 0 #ffffff,
        350px 200px 0 var(--accent-light),
        450px 350px 0 var(--accent),
        50px 100px 0 #ffffff,
        600px 100px 0 var(--accent),
        700px 300px 0 #ffffff,
        800px 200px 0 var(--accent-light),
        900px 150px 0 var(--accent),
        1000px 250px 0 #ffffff;
}

.stars::after {
    top: 40%;
    left: 40%;
    animation-delay: 1.5s;
    box-shadow: 
        80px 180px 0 var(--accent),
        180px 80px 0 #ffffff,
        280px 280px 0 var(--accent-light),
        380px 130px 0 var(--accent),
        480px 230px 0 #ffffff,
        130px 330px 0 var(--accent-light),
        230px 30px 0 var(--accent),
        330px 180px 0 #ffffff,
        430px 330px 0 var(--accent-light),
        30px 80px 0 var(--accent),
        580px 80px 0 #ffffff,
        680px 280px 0 var(--accent),
        780px 180px 0 var(--accent-light),
        880px 130px 0 #ffffff,
        980px 230px 0 var(--accent);
}

.connecting-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

.connecting-lines::before,
.connecting-lines::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    height: 1px;
    animation: connectingLine 4s infinite;
}

.connecting-lines::before {
    top: 25%;
    left: 0;
    width: 300px;
    animation-delay: 0s;
}

.connecting-lines::after {
    top: 60%;
    right: 0;
    width: 250px;
    animation-delay: 2s;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: var(--text-secondary);
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes connectingLine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.card p {
    text-align: center;
    color: var(--text-secondary);
}

/* Icons */
.icon {
    width: 48px;
    height: 48px;
    display: inline-block;
}

.icon-accent {
    color: var(--accent);
}

.icon-muted {
    color: var(--text-muted);
}

.icon-contrast {
    color: var(--text-primary);
}

/* Steps */
.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    color: white;
}

/* Plans */
.plan-card {
    text-align: center;
    position: relative;
}

.plan-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

.plan-card.featured::before {
    transform: scaleX(1);
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.plan-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Apps */
.app-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.app-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.app-card img {
    border-radius: 8px;
    margin-bottom: 1rem;
}

.app-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    color: white;
}

/* Categories */
.category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    margin: 0;
    text-align: center;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.testimonial-card cite {
    color: var(--accent);
    font-weight: 600;
    font-style: normal;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* FAQ */
.faq-container {
    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-primary);
    font-size: 1rem;
    font-weight: 400;
    padding: 1.5rem 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: inherit;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding-bottom: 0;
}

.faq-answer.active {
    max-height: 1000px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Content Pages */
.content-page {
    max-width: 800px;
    margin: 0 auto;
}

.content-page h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.content-page h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.content-page ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.cta-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid var(--border);
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation classes removed to prevent invisible elements */

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus styles */
*:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 4rem 0;
        min-height: 80vh;
    }
    
    .stars::before,
    .stars::after {
        box-shadow: 
            50px 100px 0 var(--accent-light),
            100px 50px 0 #ffffff,
            150px 150px 0 var(--accent),
            200px 75px 0 #ffffff,
            250px 125px 0 var(--accent-light),
            75px 175px 0 var(--accent),
            125px 25px 0 #ffffff,
            175px 100px 0 var(--accent-light),
            225px 175px 0 var(--accent),
            25px 50px 0 #ffffff;
    }
    
    .connecting-lines::before,
    .connecting-lines::after {
        width: 200px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .category-card img {
        height: 380px;
    }
}