/* ===========================
   TOPOFMIND.TECH STYLES
   Navy Blue Complementary Palette
   =========================== */

/* Color Variables */
:root {
    /* Primary Navy Colors */
    --primary-navy: #0A2540;
    --secondary-navy: #1E3A5F;
    --navy-text: #0F2942;
    
    /* Accent Blues */
    --accent-blue: #2E5BFF;
    --light-blue: #4A90E2;
    --sky-blue: #6BA3E8;
    
    /* Neutral Colors */
    --cream: #F7F4EF;
    --light-gray: #F5F7FA;
    --white: #FFFFFF;
    --text-gray: #5A6C7D;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 50%, var(--light-blue) 100%);
    --gradient-button: linear-gradient(135deg, var(--accent-blue) 0%, var(--light-blue) 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--navy-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(10, 37, 64, 0.08);
    z-index: 100;
    padding: 20px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-navy);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--secondary-navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-blue);
}

/* Video Section Styles */
.video-section {
    background: var(--white);
    padding: 80px 0 60px;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.15);
    background: #000;
}

.intro-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* Button Styles */
.btn-cta {
    background: var(--gradient-button);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 91, 255, 0.3);
}

.btn-small {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Hero Section with Two-Column Layout */
.hero {
    background: var(--gradient-hero);
    padding: 80px 0 100px;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--sky-blue);
}

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: var(--white);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: var(--sky-blue);
}

/* Hero Form Column */
.hero-form {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.form-container {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(10, 37, 64, 0.25);
    width: 100%;
    max-width: 500px;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 12px;
    text-align: center;
}

.form-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.5;
}

.form-container iframe {
    min-height: 588px;
}

/* Problem Section */
.problem-section {
    background: var(--cream);
    padding: 100px 0;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.3;
    margin-bottom: 40px;
}

.problem-text p {
    font-size: 22px;
    color: var(--secondary-navy);
    margin-bottom: 20px;
    line-height: 1.6;
}

.problem-highlight {
    font-weight: 600;
    color: var(--navy-text);
    font-size: 24px !important;
}

/* How It Works Section */
.how-it-works {
    background: var(--white);
    padding: 100px 0;
}

.how-it-works .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(46, 91, 255, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-button);
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.step-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Value Section */
.value-section {
    background: var(--cream);
    padding: 100px 0;
}

.value-text {
    font-size: 24px;
    color: var(--secondary-navy);
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: center;
}

.value-cta {
    margin-top: 50px;
}

.value-highlight {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-navy);
    text-align: center;
    line-height: 1.5;
}

/* P.S. Section */
.ps-section {
    background: var(--white);
    padding: 100px 0;
}

.ps-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.ps-label {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.ps-text {
    font-size: 22px;
    color: var(--secondary-navy);
    margin-bottom: 16px;
    line-height: 1.6;
}

.ps-highlight {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 30px 0 40px;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 24px;
}

.footer-tagline {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--sky-blue);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--sky-blue);
    text-decoration: underline;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 968px) {
    .video-section {
        padding: 60px 0 40px;
    }
    
    .video-wrapper {
        border-radius: 12px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 26px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .video-section {
        padding: 40px 0 30px;
    }
    
    .video-wrapper {
        border-radius: 8px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .nav {
        gap: 15px;
    }
    
    .nav-link {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .form-container {
        padding: 24px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .problem-text p {
        font-size: 18px;
    }
    
    .value-text {
        font-size: 20px;
    }
    
    .ps-text {
        font-size: 18px;
    }
    
    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-separator {
        display: none;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for fade-in on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content,
.step-card,
.hero-content,
.hero-form {
    animation: fadeInUp 0.8s ease-out;
}