@import 'variables.css';
@import 'animations.css';

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand-secondary);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

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

/* Header */
header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tagline-dynamic {
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero p {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--brand-secondary);
    color: var(--brand-secondary);
    margin-left: 10px;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
}

.filters {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filters input,
.filters select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.card-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

.card-tag {
    display: inline-block;
    padding: 4px 8px;
    background: #444;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 5px;
}

/* Coming Soon Specifics */
.coming-soon-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* --- New Promotional Page Styles --- */

/* Minimal Hero */
.hero-minimal {
    text-align: center;
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
}

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

/* Feature Split Block */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
}

@media (max-width: 768px) {
    .feature-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--brand-primary);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li::before {
    content: "✓";
    color: var(--brand-secondary);
    font-weight: bold;
}

/* Three Column Grid for Use Cases */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.card-use-case {
    background: #1c1c1e;
    /* secondarySystemBackground dark equivalent */
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

.card-use-case:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2rem;
    color: var(--brand-secondary);
    margin-bottom: 20px;
}

/* Technical Detail Styling */
.tech-detail {
    font-family: 'Menlo', monospace;
    color: #888;
    background: #111;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--brand-primary);
    margin: 20px 0;
    font-size: 0.9rem;
}

.highlight-box {
    background: rgba(60, 118, 200, 0.1);
    border: 1px solid var(--brand-secondary);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 0;
}

.input-group {
    margin-top: 30px;
}

.input-group input {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #444;
    min-width: 250px;
}

/* --- Redesign Hero Section --- */
.hero-redesign {
    text-align: center;
    padding: 60px 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo centered above headline */
.hero-logo-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.app-logo-glow {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: 0 10px 40px rgba(217, 126, 0, 0.3);
    /* Brand orange glow */
    transition: transform 0.3s ease;
}

.app-logo-glow:hover {
    transform: scale(1.05) rotate(2deg);
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.text-gradient-orange {
    background: linear-gradient(135deg, #FFB84C 0%, #D97E00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    /* Helps with gradient rendering on some browsers */
}

/* Dynamic Tagline Wrapper */
.tagline-dynamic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    vertical-align: bottom;
    /* Align with text baseline */
    font-weight: 800;
    /* Ensure no gradient override happens here unless explicitly set */
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-description {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    /* Restored wider width for better wrapping per user */
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* Content Grid */
.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

/* Mockup */
.mockup-container {
    position: relative;
    display: flex;
    justify-content: flex-end;
    /* Align closer to center */
    padding-right: 20px;
}


.video-card-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 560px;
    /* Use full width up to typical video size */
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Optional: Ambient Glow behind the mockup */
.mockup-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(217, 126, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Signup Container */
.signup-container {
    display: flex;
    justify-content: flex-start;
    /* Align closer to center */
    width: 100%;
}

.beta-box {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.beta-box h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.input-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row input {
    flex: 1;
    min-width: 0;
}

.input-group-vertical input {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #444;
    background: #222;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.input-group-vertical input:focus {
    border-color: var(--brand-primary);
}

.btn-glow {
    margin-top: 10px;
    padding: 16px;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(217, 126, 0, 0.4);
    transition: all 0.2s;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(217, 126, 0, 0.5);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.social-proof-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
    font-weight: 500;
}

.highlight-box-small {
    margin-top: 15px;
    padding: 15px;
    background: rgba(75, 148, 251, 0.1);
    border: 1px solid rgba(75, 148, 251, 0.3);
    border-radius: 12px;
    font-size: 0.9rem;
    color: #ADD8E6;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.footer-minimal {
    text-align: center;
    padding: 40px;
    color: #555;
    font-size: 0.85rem;
    border-top: 1px solid #333;
    margin-top: auto;
}

/* Mobile Responsive */
@media (max-width: 1000px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .mockup-container {
        justify-content: center;
        padding-right: 0;
        /* Order: Mockup on top of form for mobile flow */
        order: -1;
    }

    .signup-container {
        justify-content: center;
    }

    .video-card-wrapper {
        max-width: 100%;
    }
}

.hero-subheadline {
    font-size: 1.4rem;
}

.mockup-container {
    order: -1;
    /* Mockup above form on tablet if needed, keeps visual flow */
}

.signup-container {
    justify-content: center;
}


@media (max-width: 600px) {
    .hero-redesign {
        padding-top: 40px;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .form-row {
        flex-direction: column;
    }

    .beta-box {
        padding: 20px;
    }

    .video-card-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }

    .iphone-mockup {
        width: 100%;
        height: auto;
    }
}