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

:root {
    /* Primary Colors - from YudisAI logo */
    --primary-teal: #00CED1;
    --primary-cyan: #20B2AA;
    --primary-yellow: #CDDC39;
    --primary-green: #7CB342;

    /* TechTonic Colors */
    --tech-orange: #FF6B35;
    --tech-red: #E63946;
    --tech-blue: #1D3557;

    /* Background and Text */
    --bg-dark: #1a1f35;
    --bg-darker: #0f1419;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #1a1f35;
    --text-light: #6c757d;
    --text-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-green) 100%);
    --gradient-hero: linear-gradient(135deg, #0f1419 0%, #1a1f35 50%, #1a3040 100%);
    --gradient-accent: linear-gradient(135deg, var(--tech-orange) 0%, var(--tech-red) 100%);

    /* Spacing */
    --container-max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
    scroll-padding-top: 120px;
}

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

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

/* Header Styles */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

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

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

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

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

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

.btn-nav {
    background: var(--gradient-primary);
    color: var(--text-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 206, 209, 0.3);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--text-white);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 206, 209, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--text-white) 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.hero-text {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.hero-supporting {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 206, 209, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 206, 209, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-teal);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Proof Points */
.proof-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.proof-point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(0, 206, 209, 0.2);
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.proof-point span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
    scroll-margin-top: 120px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Problem Section */
.problem-section {
    background-color: var(--bg-white);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.problem-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--tech-orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--tech-red);
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Solution/Features Section */
.solution-section {
    background: var(--bg-white);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.feature {
    display: flex;
    gap: var(--spacing-md);
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 206, 209, 0.15);
}

.feature-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
}

.feature-content h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-teal);
}

.feature-content ul {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.feature-content li {
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-xs);
    position: relative;
    color: var(--text-light);
}

.feature-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

.impact {
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.1) 0%, rgba(124, 179, 66, 0.1) 100%);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--primary-teal);
    margin-top: var(--spacing-md);
}

.impact strong {
    color: var(--primary-teal);
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.impact p {
    color: var(--text-dark);
    margin: 0;
}

/* Roles Section */
.roles-section {
    background: var(--bg-light);
}

.roles-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.role-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.role-card:hover {
    transform: translateY(-8px);
}

.role-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--tech-blue);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--primary-teal);
}

.role-benefit {
    margin-bottom: var(--spacing-md);
}

.role-benefit h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.role-benefit p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Standout Section */
.standout-section {
    background: var(--gradient-hero);
    color: var(--text-white);
}

.standout-section .section-header h2 {
    color: var(--text-white);
}

.standout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.standout-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(0, 206, 209, 0.2);
    transition: all 0.3s ease;
}

.standout-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-teal);
    transform: scale(1.05);
}

.standout-item h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-teal);
}

.standout-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* Why Now Section */
.why-now-section {
    background: var(--bg-white);
}

.why-now-content {
    max-width: 900px;
    margin: 0 auto;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    background: var(--gradient-primary);
}

.stat-card:hover .stat-number,
.stat-card:hover .stat-label {
    color: var(--text-white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

/* Social Proof Section */
.social-proof-section {
    background: var(--bg-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.trust-item {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
}

.trust-item h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--tech-blue);
}

.trust-item p {
    color: var(--text-light);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonial {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-teal);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.testimonial-author {
    color: var(--text-light);
    font-weight: 600;
}

/* Final CTA Section */
.final-cta-section {
    background: var(--gradient-hero);
    color: var(--text-white);
    padding: var(--spacing-xl) 0;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.cta-text-bold {
    font-size: 1.3rem;
    font-weight: 700;
    margin: var(--spacing-md) 0;
    color: var(--primary-teal);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
    flex-wrap: wrap;
}

.cta-link {
    color: var(--primary-teal);
    text-decoration: underline;
    font-size: 1.1rem;
    display: block;
    margin: var(--spacing-md) 0;
}

.cta-disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--spacing-md);
}

/* Footer */
.footer {
    background: var(--tech-blue);
    color: var(--text-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-teal);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-xs);
}

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

.footer-column a:hover {
    color: var(--primary-teal);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
}

.newsletter-message {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-xs);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.newsletter-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: var(--spacing-lg);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
}

.modal-subtitle {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
}

.close {
    color: var(--text-light);
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: var(--text-dark);
}

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

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

.form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.1);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: var(--tech-red);
}

.btn-submit {
    width: 100%;
    margin-top: var(--spacing-sm);
    font-size: 1.1rem;
    cursor: pointer;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hero-text {
        max-width: 100%;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .nav {
        display: none; /* Simple hide on mobile - could add hamburger menu */
    }

    .feature {
        flex-direction: column;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: var(--spacing-md);
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }
}

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

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

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