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

:root {
    /* Perqlit Brand Colors */
    --discovery-teal: #00BFA6;
    --signal-blue: #1F6FFF;
    --beam-mint: #D2F7F1;
    --sky-mist: #E6F4FF;
    --clean-white: #FFFFFF;
    --charcoal-black: #1C1E21;
    --cool-gray: #6B7280;
    --blue-spark: #3A5DFF;
    --mint-glow: #B9FBC0;
    
    /* Theme variables - Light Mode */
    --bg-primary: var(--clean-white);
    --bg-secondary: linear-gradient(135deg, var(--beam-mint) 0%, var(--sky-mist) 100%);
    --bg-tertiary: linear-gradient(135deg, var(--beam-mint) 0%, var(--clean-white) 100%);
    --text-primary: var(--charcoal-black);
    --text-secondary: var(--cool-gray);
    --text-muted: rgba(107, 114, 128, 0.8);
    --card-bg: var(--clean-white);
    --border-color: #e2e8f0;
    --shadow: rgba(28, 30, 33, 0.1);
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--discovery-teal) 0%, var(--signal-blue) 100%);
    --secondary-gradient: var(--bg-secondary);
    --dark-gradient: linear-gradient(135deg, var(--charcoal-black) 0%, #2D3748 100%);
}

[data-theme="dark"] {
    /* Dark Mode Theme Variables */
    --bg-primary: var(--charcoal-black);
    --bg-secondary: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    --bg-tertiary: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    --text-primary: var(--clean-white);
    --text-secondary: #94a3b8;
    --text-muted: rgba(148, 163, 184, 0.8);
    --card-bg: #1a1f2e;
    --border-color: #374151;
    --shadow: rgba(0, 0, 0, 0.3);
    --secondary-gradient: var(--bg-secondary);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: all 0.3s ease;
}

.landing-container {
    position: relative;
}

/* Floating Dark Mode Toggle */
.floating-dark-mode-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 2px solid var(--discovery-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.floating-dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 191, 166, 0.3);
    border-color: var(--signal-blue);
}

.dark-mode-icon {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .dark-mode-icon {
    transform: rotate(180deg);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--secondary-gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

/* Animated Background */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    width: 60px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 8px;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(0, 191, 166, 0.3);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.card-3 {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.floating-perk {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: floatPerk 8s ease-in-out infinite;
}

.perk-1 {
    top: 15%;
    right: 20%;
    animation-delay: 1s;
}

.perk-2 {
    top: 30%;
    left: 15%;
    animation-delay: 3s;
}

.perk-3 {
    top: 70%;
    right: 10%;
    animation-delay: 5s;
}

.perk-4 {
    top: 40%;
    right: 5%;
    animation-delay: 7s;
}

.perk-5 {
    top: 85%;
    right: 30%;
    animation-delay: 2.5s;
}

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

@keyframes floatPerk {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    animation: logoEntrance 1.5s ease-out;
}

.hero-logo {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 10px 30px rgba(0, 191, 166, 0.3));
    animation: logoGlow 3s ease-in-out infinite;
}

.light-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 191, 166, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: lightPulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 10px 30px rgba(0, 191, 166, 0.3));
    }
    50% {
        filter: drop-shadow(0 15px 40px rgba(0, 191, 166, 0.6));
    }
}

@keyframes lightPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.brand-text {
    margin-bottom: 2rem;
    animation: textSlideIn 1s ease-out 0.5s both;
}

.brand-name {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.brand-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.hero-description {
    margin-bottom: 3rem;
    animation: textSlideIn 1s ease-out 1s both;
}

.main-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    transition: color 0.3s ease;
}

@keyframes textSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: buttonsSlideIn 1s ease-out 1.5s both;
}

.cta-primary, .cta-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.cta-primary {
    background: var(--primary-gradient);
    color: var(--clean-white);
    box-shadow: 0 10px 30px rgba(0, 191, 166, 0.3);
    z-index: 1;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 191, 166, 0.4);
}

.cta-secondary {
    background: var(--clean-white);
    color: var(--charcoal-black);
    border: 2px solid var(--discovery-teal);
}

.cta-secondary:hover {
    background: var(--discovery-teal);
    color: var(--clean-white);
    transform: translateY(-2px);
}

.cta-primary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-primary:hover .button-glow {
    left: 100%;
}

@keyframes buttonsSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    animation: bounceIn 1s ease-out 2s both;
    transition: color 0.3s ease;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid var(--discovery-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    position: relative;
    transition: all 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    transition: color 0.3s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 191, 166, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 191, 166, 0.3);
}

.feature-icon .material-icons {
    font-size: 2.5rem;
    color: var(--clean-white);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color 0.3s ease;
}

/* How It Works Section */
.how-it-works-section {
    padding: 6rem 2rem;
    background: var(--bg-tertiary);
    transition: all 0.3s ease;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 2rem;
    flex-wrap: wrap;
}

.step-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.step-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 191, 166, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: var(--clean-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(0, 191, 166, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--beam-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1rem;
}

.step-icon .material-icons {
    font-size: 2rem;
    color: var(--discovery-teal);
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.step-connector {
    width: 50px;
    height: 2px;
    background: var(--discovery-teal);
    position: relative;
    opacity: 0.5;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--discovery-teal);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Final CTA Section */
.final-cta-section {
    padding: 6rem 2rem;
    background: var(--dark-gradient);
    color: var(--clean-white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--clean-white) 0%, var(--beam-mint) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

/* Footer */
.landing-footer {
    background: var(--charcoal-black);
    color: var(--clean-white);
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 400px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--discovery-teal);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Animations */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.animate-scale {
    transform: scale(1) !important;
    opacity: 1 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-name {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-connector {
        transform: rotate(90deg);
        width: 30px;
    }
    
    .floating-card,
    .floating-perk {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem;
    }
    
    .features-section,
    .how-it-works-section,
    .final-cta-section {
        padding: 3rem 1rem;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .main-description {
        font-size: 1rem;
    }
}