/* ---
Secoya AI Landing Page Styles
--- */

/* --- Core & Variables --- */
:root {
    --soft-white: #f8fafc;
    --dark-slate: #212121;
    --light-gray: #e2e8f0;
    --azure-blue: #410397;
    --mint-green: #FE943D;
    --lavender-purple: #5B79FA;
    --sunset-orange: #FD9244;

    --primary-dark: #4f46e5;
    --highlight: #f59e0b;
    --secondary-accent: #0ea5e9;
    --mid-gray: #64748b;
    --black-neutral: #202124;

    --font-family-sans: 'Inter', sans-serif;
    --font-family-display: 'Montserrat', sans-serif;
    --container-width: 1100px;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-family-sans);
    background-color: var(--soft-white);
    color: var(--dark-slate);
    line-height: 1.6;
    margin: 0;
    padding-top: 80px; /* Space for sticky header */
}

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

h1, h2, h3, h4 {
    font-family: var(--font-family-display);
    color: var(--dark-slate);
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; text-align: center; margin-bottom: 4rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

a {
    color: var(--azure-blue);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    transform: scale(1);
}

.cta-button:hover {
    transform: scale(1.05);
}

.cta-button.primary {
    background-color: var(--azure-blue);
    color: white;
}
.cta-button.primary:hover {
    background-color: var(--primary-dark);
}
.cta-button.secondary {
    background-color: var(--soft-white);
    color: var(--dark-slate);
    border: 1px solid var(--light-gray);
}
.cta-button.secondary:hover {
    background-color: var(--light-gray);
}


/* --- Header & Navigation --- */
#main-header {
    background-color: var(--black-neutral);
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

#main-header .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin-right: auto; /* keep logo flush left, nav to the right */
    min-width: 0;
}

.logo-img {
    display: block;
    height: clamp(28px, 6vw, 48px);
    width: auto;
    max-width: min(240px, 40vw);
    aspect-ratio: 10 / 4; /* keep natural proportions */
    object-fit: contain;
}

#main-header ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
}

#main-header ul a {
    color: #fff;
    font-weight: 500;
}

#main-header ul a:hover { color: var(--secondary-accent); }

.mobile-nav-toggle { display: none; }


/* --- Hero Section --- */
#hero {
    background: url('../assets/images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 8rem 0;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(32, 33, 36, 0.72);
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1 {
    color: white;
    margin-bottom: 1rem;
}

#hero .subheadline {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.15rem;
    color: var(--light-gray);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}


/* --- Features Section --- */
#features {
    padding: 6rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: var(--box-shadow-lg);
}

.feature-card .icon-placeholder {
    height: 50px;
    width: 50px;
    background-color: var(--lavender-purple);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--azure-blue);
}


/* --- How It Works --- */
#how-it-works {
    padding: 6rem 0;
    background-color: white;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    text-align: center;
}

.step {
    flex: 1;
    position: relative;
}
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -30px;
    height: 2px;
    width: 60px;
    background-color: var(--light-gray);
}


.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--mint-green);
    color: var(--dark-slate);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}


/* --- Pricing Section --- */
#pricing {
    padding: 6rem 0;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-gray);
    transition: .4s;
    border-radius: 34px;
}
.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + label { background-color: var(--azure-blue); }
input:checked + label:before { transform: translateX(26px); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    border: 1px solid var(--light-gray);
    position: relative;
}

.pricing-card.popular {
    border: 2px solid var(--azure-blue);
    box-shadow: var(--box-shadow-lg);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--azure-blue);
    color: white;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 999px;
}

.price { font-size: 2rem; font-weight: 700; margin: 1rem 0; }
.price span { font-size: 2.5rem; }

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}
.pricing-card ul li {
    margin-bottom: 0.75rem;
}


/* --- Footer --- */
#main-footer {
    background-color: var(--dark-slate);
    color: var(--light-gray);
    padding: 4rem 0 2rem;
}
.footer-cta {
    text-align: center;
    margin-bottom: 3rem;
}
.footer-cta h2 { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--mid-gray);
    padding-top: 2rem;
}
.footer-bottom ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}
.footer-bottom ul a { color: var(--light-gray); }

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    position: relative;
}
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    
    #main-header nav ul { display: none; } /* Basic mobile menu handling */
    .mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .steps-container, .pricing-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    .step:not(:last-child)::after { display: none; }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
} 