/* --- CSS Reset & Variables --- */
:root {
    --bg-color: #05050A;
    --bg-darker: #030305;
    --bg-dark: #08090D;
    --bg-nav: rgba(5, 5, 10, 0.85);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-main: #FFFFFF;
    --text-muted: #A0A5B5;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* Brand Colors based on Logo */
    --brand-blue: #0066ff;
    --brand-blue-light: #00b3ff;
    --brand-purple: #9d00ff;
    --brand-magenta: #ff00ff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--brand-blue-light) 0%, var(--brand-blue) 50%, var(--brand-purple) 100%);
    --gradient-text: linear-gradient(90deg, var(--brand-blue-light) 0%, var(--brand-blue) 40%, var(--brand-purple) 80%, var(--brand-magenta) 100%);
    --gradient-border: linear-gradient(135deg, rgba(0,179,255,0.5), rgba(157,0,255,0.2));
    
    --font-primary: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

[data-theme="light"] {
    --bg-color: #F8F9FA;
    --bg-darker: #E9ECEF;
    --bg-dark: #F1F3F5;
    --bg-nav: rgba(248, 249, 250, 0.95);
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8F9FA;
    --text-main: #121212;
    --text-muted: #495057;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(157, 0, 255, 0.4);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 1.5rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--brand-blue-light);
    transform: rotate(15deg);
}

.mobile-theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    justify-content: flex-start;
    margin-right: 0;
}

.mobile-theme-toggle:hover {
    color: var(--text-main);
    transform: none;
}

/* --- Header & Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-s {
    color: var(--brand-blue-light);
    font-size: 2.2rem;
    line-height: 1;
    margin-right: 2px;
}

.logo-drive {
    color: var(--brand-purple);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-color);
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid var(--border-color);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mobile-nav a:hover {
    color: white;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

/* Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(157,0,255,0.15) 0%, transparent 60%);
    z-index: -1;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(0,179,255,0.15) 0%, transparent 60%);
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-blue-light);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

.store-btn {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    transition: var(--transition);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.store-btn i {
    font-size: 2rem;
    margin-right: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.store-text {
    display: flex;
    flex-direction: column;
}

.store-text span {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.store-text strong {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: -2px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-mockup {
    width: 85%;
    max-width: 450px;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0, 102, 255, 0.2);
    /* For glass effect if the image is transparent */
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.1);
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    filter: blur(100px);
    opacity: 0.3;
    z-index: 1;
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0% { opacity: 0.2; transform: scale(0.9); }
    100% { opacity: 0.4; transform: scale(1.1); }
}

/* --- Features Section --- */
.features {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(157, 0, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0, 102, 255, 0.1);
}

.feature-card:hover::before {
    opacity: 0.03;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(157, 0, 255, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* --- How It Works Section --- */
.how-it-works {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
}

/* Connecting line between steps */
.steps-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    width: calc(100% - 100px);
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

@media (max-width: 992px) {
    .steps-container::before {
        display: none;
    }
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.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: 800;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--brand-blue-light);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* --- Testimonials Section --- */
.testimonials {
    padding: 8rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 179, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.quote-icon {
    font-size: 2rem;
    color: var(--brand-purple);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.feedback {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #E0E0E0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.user-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.user-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- FAQ Section --- */
.faq {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--brand-blue-light);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active {
    border-color: rgba(157, 0, 255, 0.3);
}

.faq-item.active .faq-question {
    color: var(--brand-blue-light);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
}

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

/* --- About Section --- */
.about {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(11, 12, 16, 1) 100%);
    border-top: 1px solid rgba(255,255,255,0.02);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-blue));
    top: 10%;
    left: 10%;
    filter: blur(60px);
    opacity: 0.6;
    animation: pulse 5s infinite alternate;
}

.circle-2 {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta));
    bottom: 10%;
    right: 10%;
    filter: blur(60px);
    opacity: 0.6;
    animation: pulse 6s infinite alternate-reverse;
}

.glass-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    width: 80%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 2;
}

.glass-panel h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-panel p {
    color: var(--text-muted);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.check-list li i {
    color: var(--brand-blue-light);
    font-size: 1.25rem;
    margin-right: 1rem;
}

/* --- Footer --- */
.footer {
    background: var(--bg-darker);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .tagline {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin: 0.5rem 0 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--brand-blue-light);
    padding-left: 5px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

.footer-contact ul li i {
    color: var(--brand-blue-light);
    font-size: 1.25rem;
    margin-right: 1rem;
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom strong {
    color: white;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        margin: 0 auto 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: 2;
        height: 350px;
    }
    
    .about-content {
        order: 1;
        text-align: center;
    }
    
    .check-list li {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-action {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-desc {
        margin: 0 auto 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links, .footer-contact {
        text-align: center;
    }
    
    .footer-contact ul li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-contact ul li i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}
