/* Landing Page Styles for Microsoft Test Demo */

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

:root {
    --primary-color: #0078d4;
    --primary-hover: #106ebe;
    --primary-active: #005a9e;
    --secondary-color: #50e6ff;
    --success-color: #107c10;
    --bg-white: #ffffff;
    --bg-light: #f3f2f1;
    --bg-lighter: #faf9f8;
    --bg-dark: #252423;
    --text-primary: #323130;
    --text-secondary: #605e5c;
    --text-light: #ffffff;
    --border-color: #edebe9;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    --gradient-hero: linear-gradient(135deg, #0078d4 0%, #106ebe 50%, #50e6ff 100%);
}

/* Base Styles */
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

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

.nav-brand h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

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

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

.nav-links .btn-primary {
    color: var(--text-light);
    background: var(--gradient-primary);
    padding: 8px 20px;
    border-radius: 4px;
}

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

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--text-light);
    padding: 120px 0 80px;
    margin-top: 64px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

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

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

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-lighter);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

/* Tech Stack */
.tech-stack {
    margin-top: 60px;
}

.tech-stack h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

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

.tech-item {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.tech-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.tech-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

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

.feature-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    opacity: 0.7;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* Demo Section */
.demo-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.demo-iframe {
    width: 100%;
    height: 600px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.demo-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.demo-info ul {
    list-style: none;
}

.demo-info li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.demo-info li:last-child {
    border-bottom: none;
}

/* Lifecycle Grid */
.lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.lifecycle-stage {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.lifecycle-stage:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.stage-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.lifecycle-stage h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.lifecycle-stage p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* Documentation Grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.doc-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.doc-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.doc-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.doc-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Stats Section */
.section-stats {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: var(--bg-lighter);
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
}

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

.cta-buttons .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 24px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

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

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

.footer-section li {
    margin-bottom: 8px;
}

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

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .demo-container {
        grid-template-columns: 1fr;
    }

    .demo-iframe {
        height: 500px;
    }

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========================================
   Employer Spotlight Section Styles
   ======================================== */

.employer-spotlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.employer-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="2" height="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.employer-spotlight .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.spotlight-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    text-align: center;
}

.spotlight-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.9;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.metric-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.metric-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.metric-value {
    font-size: 3.5em;
    font-weight: bold;
    margin: 10px 0;
    line-height: 1;
}

.metric-label {
    font-size: 1.1em;
    font-weight: 600;
    margin: 10px 0;
}

.metric-description {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 8px;
}

/* CTA Buttons */
.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 50px 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-primary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.cta-tertiary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-tertiary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Video Section */
.video-section {
    margin: 60px 0;
}

.video-title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Fallback: 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Modern browsers with aspect-ratio support */
@supports (aspect-ratio: 16 / 9) {
    .video-container {
        padding-top: 0;
        aspect-ratio: 16 / 9;
    }
}

.video-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Modern browsers with aspect-ratio support */
@supports (aspect-ratio: 16 / 9) {
    .video-placeholder {
        position: static;
        height: 100%;
    }
}

.placeholder-icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.placeholder-text {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
}

.placeholder-subtext {
    font-size: 1em;
    opacity: 0.8;
}

/* Testing Pyramid */
.testing-pyramid-section {
    margin: 80px 0 60px;
}

.pyramid-title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
}

.pyramid-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.pyramid-layer {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.pyramid-layer:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.layer-e2e {
    width: 70%;
}

.layer-integration {
    width: 85%;
}

.layer-unit {
    width: 100%;
}

.layer-name {
    display: block;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 8px;
}

.layer-examples {
    display: block;
    font-size: 0.95em;
    opacity: 0.85;
}

.pyramid-note {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
    opacity: 0.9;
    font-style: italic;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.highlight-card h4 {
    font-size: 1.3em;
    margin-bottom: 12px;
}

.highlight-card p {
    font-size: 1em;
    opacity: 0.9;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .spotlight-title {
        font-size: 1.8em;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .metric-value {
        font-size: 2.5em;
    }
    
    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button {
        justify-content: center;
    }
    
    .layer-e2e,
    .layer-integration,
    .layer-unit {
        width: 100%;
    }
}
