/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    background-image:
        radial-gradient(circle at 10% 20%, var(--bg-gradient-start) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, #1e1b4b 0%, transparent 40%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-5px);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

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

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

.logo img {
    height: 40px;
    border-radius: 10px;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

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

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #bda2fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 600px;
    background: #000;
    border: 6px solid #2d2d2d;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Features Section */
.features {
    padding: var(--section-padding);
}

/* ... */
/* Detailed Breakdown Section */
.detailed-section {
    padding: var(--section-padding);
}

.detailed-row {
    display: flex;
    align-items: center;
    gap: 80px;
    /* Increased gap */
    margin-bottom: 120px;
}

.detailed-row:last-child {
    margin-bottom: 0px;
}

.detailed-row.reverse {
    flex-direction: row-reverse;
}

.detailed-content {
    flex: 1;
}

.detailed-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.detailed-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-mockup-card {
    width: 280px;
    height: 600px;
    background: #000;
    border: 6px solid #2d2d2d;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    /* Stronger shadow */
    overflow: hidden;
    /* Removed glass effect background as it's now a phone frame */
    display: block;
    /* Ensure it takes dimensions */
}

.feature-mockup-card img,
.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover ensures no black bars, assuming standard phone ratio */
}

.feature-mockup-card::after {
    display: none;
    /* Remove the blurred blob overlay */
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* Align left */
    gap: 60px;
    /* Space between columns */
    margin-bottom: 40px;
}

.footer-col {
    min-width: 250px;
    /* Allow columns to be wide enough */
    flex: 1;
    /* Distribute space, but min-width ensures wrapping */
}

/* Specific col styling to fix squishing */
.footer-col:first-child {
    flex: 2;
    /* Give first column (brand) more space */
    min-width: 300px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: white;
    /* Ensure headings are visible */
}

.footer-col ul {
    font-size: 0.95rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: left;
    /* Match footer content alignment */
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
}

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

.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--glass-bg);
    border: var(--glass-border);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

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

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

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

.faq-item.active .faq-answer {
    padding-bottom: 25px;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .detailed-row {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .detailed-row.reverse {
        flex-direction: column;
    }
}

/* Feature Carousel */
.carousel-section {
    padding: var(--section-padding);
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 20px;
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-content {
    flex: 1;
}

.slide-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.carousel-btn.prev {
    left: -60px;
}

.carousel-btn.next {
    right: -60px;
}

@media (max-width: 900px) {
    .carousel-slide {
        flex-direction: column-reverse;
        /* Text on top? No, usually image on top for mobile or text below. Let's do column */
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .carousel-btn {
        display: none;
        /* Hide arrows on mobile, rely on swipe or dots */
    }
}
/* Download Section */
.download-section {
    padding: var(--section-padding);
    text-align: center;
}

.download-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 0, 0, 0.4));
    position: relative;
    overflow: hidden;
}

.download-card h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #bda2fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.1;
    z-index: -1;
}
