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

:root {
    /* Colors - Blue theme matching FluentBlue branding */
    --primary-blue: #4A90E2;
    --primary-dark: #2E5C8A;
    --primary-light: #6BA3E8;
    --accent-blue: #5BA3F5;
    --bg-gradient-start: #4A7FC1;
    --bg-gradient-end: #6BA3E8;
    
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-light: #f8f9fb;
    --bg-white: #ffffff;
    --border-color: #e0e4e8;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-icon {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-accent {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* ===== Buttons ===== */
.btn-primary, .btn-secondary, .btn-primary-small {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-primary-small {
    padding: 0.625rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    font-size: 0.9rem;
}

.btn-primary-small:hover {
    background: var(--dark-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.play-icon {
    margin-right: 0.5rem;
}

/* ===== Hero Section ===== */
.hero {
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8f9fb 0%, #e8f0fe 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.hero-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-image {
    position: relative;
}

.screenshot-placeholder {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
   /* aspect-ratio: 16/10;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.screenshot-main:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===== What Problem Section ===== */
.what-problem {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.what-problem .pain-point h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

/* ===== Problem Section ===== */
.problem {
    padding: var(--spacing-xl) 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pain-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.pain-point {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.pain-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.pain-point p {
    color: var(--text-medium);
    font-weight: 500;
}

.problem-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.problem-text p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
}

.problem-text strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ===== Preview Section ===== */
.preview {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

/* Screenshots Showcase */
.screenshots-showcase {
    margin: var(--spacing-lg) 0;
}

.showcase-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.showcase-item {
    text-align: center;
}

.showcase-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    cursor: pointer;
}

.showcase-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.showcase-caption {
    margin-top: var(--spacing-sm);
    font-size: 0.95rem;
    color: var(--text-medium);
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    padding: 0 0.5rem;
}

.video-container {
    margin: var(--spacing-lg) 0;
}

.video-placeholder {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    border-radius: var(--radius-lg);
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.screenshot-item {
    text-align: center;
}

.screenshot {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-sm);
    background: white;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.screenshot-caption {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-style: italic;
}

/* ===== Features Section ===== */
.features {
    padding: var(--spacing-xl) 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.feature-card {
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

.features-tagline {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-medium);
    font-style: italic;
    margin-top: var(--spacing-lg);
}

/* ===== Signup Section ===== */
.signup {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: white;
}

.signup .section-title {
    color: white;
    text-align: left;
}

.signup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.signup-text p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.95;
}

.signup-form-container {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.form-input {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.signup-benefits {
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.benefits-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.benefits-list {
    list-style: none;
    color: var(--text-medium);
}

.benefits-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* ===== Founder Section ===== */
.founder {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

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

.founder-content p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
}

.founder-cta {
    margin-top: var(--spacing-md);
}

.link-primary {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-primary:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== FAQ Section ===== */
.faq {
    padding: var(--spacing-xl) 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.faq-item {
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.faq-question {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.faq-answer {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===== Final CTA Section ===== */
.final-cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* ===== Footer ===== */
.footer {
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
    background: var(--text-dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: white;
}

.footer-tagline {
    margin-top: var(--spacing-xs);
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    opacity: 0.6;
    font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .pain-points {
        grid-template-columns: 1fr;
    }

    .showcase-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .signup-content {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Responsive logo for tablets */
    .logo-icon {
        height: 36px;
    }

    .logo-text {
        font-size: 1.375rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .showcase-row {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-links a:not(.btn-primary-small) {
        display: none;
    }

    .cta-title {
        font-size: 1.875rem;
    }

    /* Responsive logo for mobile */
    .logo-icon {
        height: 32px;
    }

    .logo-text {
        font-size: 1.25rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image {
    animation: fadeInUp 0.8s ease-out;
}

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

/* ===== Form Success Message ===== */
.form-success {
    background: #d4edda;
    color: #155724;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    margin-top: var(--spacing-sm);
    text-align: center;
    display: none;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    line-height: 1;
    user-select: none;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-caption {
    color: white;
    margin-top: var(--spacing-sm);
    text-align: center;
    font-size: 0.95rem;
    max-width: 600px;
    opacity: 0.9;
}

@media (max-width: 640px) {
    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-image {
        max-height: 80vh;
    }

    .lightbox-close {
        top: -35px;
        font-size: 35px;
    }

    .lightbox-caption {
        font-size: 0.85rem;
        padding: 0 var(--spacing-sm);
    }
}

