/* Global Variables */
:root {
    --tamarillo: #8b1110;
    --red-orange: #ff3c31;
    --victoria: #444699;
    --green-leaf: #3c8205;
    --shark: #19191b;
    --mischka: #dddfe6;
    --supernova: #f9cb01;
    --bourbon: #c37918;
    --jumbo: #7b7c83;

    --bg-color: var(--shark);
    --text-color: var(--mischka);
    --primary-color: var(--red-orange);
    --secondary-color: var(--victoria);
    --accent-color: var(--supernova);

    --spotlight-color: rgba(255, 255, 255, 0.15);
    /* New variable */
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
    /* Ensure sections can contain absolute elements */
    overflow: hidden;
    /* Contain shooting stars and shaders */
}

/* Canvas & Effect Containers */
#testimonials-canvas,
#pricing-canvas,
#flickering-grid,
.floating-paths-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#flickering-grid {
    opacity: 0.4;
    /* Subtle grid */
}

/* Ensure content is above effects */
.section .container,
footer .container {
    position: relative;
    z-index: 1;
}


.shooting-stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Behind content but in front of background if needed */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    gap: 10px;
    border: none;
    outline: none;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-orange), var(--tamarillo));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 60, 49, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 60, 49, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 1.3rem;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(25, 25, 27, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(25, 25, 27, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--mischka);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.nav-cta {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(25, 25, 27, 0.4), var(--shark));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: 10%;
    margin-right: 0;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(68, 70, 153, 0.3);
    border: 1px solid var(--victoria);
    border-radius: 20px;
    color: #aeb0ff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(68, 70, 153, 0.2);
    /* Glow */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typewriter Cursor */
#typewriter {
    border-right: 2px solid var(--primary-color);
    padding-right: 5px;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-color)
    }
}

.hero p {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: 0;
    margin-right: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.small-text {
    font-size: 0.9rem;
    color: var(--jumbo);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.5s;
}

.delay-4 {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 60, 49, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 60, 49, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 60, 49, 0);
    }
}

/* Social Proof Bar */
.social-proof-bar {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.social-proof-bar p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-section {
    min-height: 80vh;
    /* Fill most of the screen */
    display: flex;
    align-items: center;
    padding-top: 120px;
    /* Account for fixed navbar */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding: 40px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.info-item i {
    color: var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 60, 49, 0.2);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}


/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    position: relative;
    /* For spotlight */
    overflow: hidden;
    /* For spotlight */
    background: rgba(25, 25, 27, 0.6);
    /* Slightly more transparent */
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    /* Enhanced blur */
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), var(--spotlight-color), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

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

.feature-card>* {
    position: relative;
    /* Ensure content is above spotlight */
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 60, 49, 0.2), rgba(139, 17, 16, 0.2));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--red-orange);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.7;
}

/* How It Works */
.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step {
    display: flex;
    align-items: center;
    gap: 60px;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-app-ui {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ui-mockup {
    width: 100%;
    max-width: 400px;
    height: 250px;
    background: linear-gradient(135deg, #2a2a2d, #1f1f21);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-content {
    flex: 1;
}

.step-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    display: block;
    line-height: 0.8;
}

.step h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.step p {
    font-size: 1.1rem;
    color: #aaa;
}

/* Testimonials */
.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
}

.stars {
    color: var(--supernova);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: white;
    margin-bottom: 25px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--victoria);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.info h4 {
    font-size: 1rem;
    color: white;
}

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

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

.pricing-card {
    background: rgba(20, 20, 22, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.glass-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--red-orange), var(--victoria));
}

.limited-badge {
    background: rgba(255, 60, 49, 0.1);
    color: var(--red-orange);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.pricing-card h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.original-price {
    font-size: 2rem;
    color: var(--jumbo);
    text-decoration: line-through;
}

.current-price {
    font-size: 4rem;
    font-weight: 800;
    color: white;
}

.pricing-features {
    text-align: left;
    margin-bottom: 40px;
    display: inline-block;
}

.pricing-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 15px;
}

.pricing-features i {
    color: var(--green-leaf);
}

.guarantee {
    margin-top: 20px;
    color: var(--jumbo);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--card-bg);
    /* Opaque background for grid visibility */
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

/* Chrome Badge */
.chrome-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--mischka);
    font-size: 0.9rem;
    margin-top: 20px;
    width: fit-content;
}

.chrome-badge i {
    font-size: 1.2rem;
    background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Social Proof Stars */
.social-stars {
    color: var(--supernova);
    margin-right: 10px;
    font-size: 0.9rem;
    vertical-align: middle;
}

/* How It Works Images */
.ui-mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* changed from cover to contain to ensure full UI is visible */
    border-radius: 14px;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    position: relative;
    padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 20px 20px 20px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: -10px;
}

/* Free Trial Emphasis */
.free-trial-container {
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.free-trial-container p {
    color: var(--jumbo);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.free-trial-link {
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.free-trial-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Footer */
footer {
    background: black;
    padding: 50px 0;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: white;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--jumbo);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #555;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .step {
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
    }

    .price {
        flex-direction: column;
        gap: 0;
    }

    .current-price {
        font-size: 3rem;
    }
}

/* Ripple Effect for Buttons */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}