/* ===== Homepage Styles ===== */

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem 1.5rem 3rem;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102,126,234,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.45;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: var(--max-content);
    width: 100%;
    margin: 0 auto;
}

.hero-content {
    text-align: left;
}

.hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    pointer-events: none;
    object-fit: contain;
}

.hero-logo {
    width: 100px; height: 100px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 25px rgba(102,126,234,0.5));
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

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

/* Portrait / mobile: stack vertically */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-illustration {
        max-width: 500px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary { background: #4CAF50; color: white; border-color: #4CAF50; }
.btn-primary:hover { background: #43a047; box-shadow: 0 8px 24px rgba(76,175,80,0.3); }

.btn-secondary { background: transparent; color: var(--text-light); border-color: rgba(255,255,255,0.4); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

.btn-accent { background: var(--brand-accent); color: white; border-color: var(--brand-accent); }
.btn-accent:hover { background: #5568d3; box-shadow: 0 8px 24px rgba(102,126,234,0.3); }

/* Social Proof Bar */
.social-proof-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(102,126,234,0.08) 0%, rgba(52,13,130,0.15) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1.25rem 2rem;
    min-width: 140px;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.proof-item:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
}

.proof-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.proof-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Feature link */
.feature-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--brand-accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-link:hover {
    text-decoration: underline;
}

/* Section base */
section {
    padding: 5rem 1.5rem;
    max-width: var(--max-content);
    margin: 0 auto;
}

section h2.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Feature rows */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-media {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-media:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

.feature-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #d0d0ff;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Video section */
.video-section {
    background: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.video-section section { max-width: var(--max-content); }

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}

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

/* Newsletter */
#newsletter {
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: var(--text-light);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--brand-accent);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

/* Platforms */
.platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    min-height: 72px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.platform-badge:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    text-decoration: none;
}

.platform-badge > span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
}

.platform-badge strong { color: var(--text-light); display: block; }

/* Press / As Seen On */
.press-section {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.press-section section { max-width: var(--max-content); }

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.press-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-muted);
    transition: transform 0.2s, color 0.2s;
    padding: 1.5rem;
}

.press-item:hover { transform: translateY(-4px); color: var(--text-light); text-decoration: none; }

.press-icon {
    font-size: 2.5rem;
    filter: grayscale(0.3);
    transition: filter 0.2s;
}

.press-item:hover .press-icon { filter: grayscale(0); }

.press-name {
    font-weight: 600;
    font-size: 1rem;
}

.press-desc {
    font-size: 0.85rem;
    text-align: center;
    opacity: 0.8;
}

/* Homepage Contact grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.contact-grid .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}

.contact-grid .contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.contact-grid .contact-item a:hover { color: var(--text-light); }

.contact-grid .contact-item .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--brand-accent);
}

/* Blog preview section */
.blog-section {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.blog-section section { max-width: var(--max-content); }

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.blog-preview-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 1.25rem;
    text-decoration: none;
    color: var(--text-muted);
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.blog-preview-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    color: var(--text-light);
    text-decoration: none;
}

.blog-preview-cta {
    background: rgba(102,126,234,0.06);
    border-color: rgba(102,126,234,0.2);
}

.blog-preview-cta:hover {
    background: rgba(102,126,234,0.12);
    border-color: rgba(102,126,234,0.35);
}

.blog-preview-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.blog-preview-text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.blog-preview-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.3;
}

.blog-preview-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding-top: 6rem; }
    section { padding: 3rem 1rem; }
    .feature-row { grid-template-columns: 1fr; gap: 2rem; }
    .feature-row.reverse { direction: ltr; }
}