/* Microsoft Blue Theme CSS */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #e8e8e8;
    --card-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #505050;
    --text-tertiary: #737373;
    --ms-blue: #0078D4;
    --ms-blue-dark: #005a9e;
    --ms-blue-light: #50a0e6;
    --ms-purple: #5C2D91;
    --ms-green: #107c10;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 120, 212, 0.1);
    --shadow-hover: rgba(0, 120, 212, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
    background: url('ok.avif') center/cover no-repeat fixed;
    color: var(--text-primary);
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: -1;
}

/* Navigation Buttons */
.nav-buttons {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ms-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    border: none;
}

.nav-btn:hover {
    background: var(--ms-blue-dark);
    transform: translateX(0) scale(1.1);
}

.nav-btn.visible {
    opacity: 1;
    transform: translateX(0);
}

.nav-btn i {
    font-size: 1.25rem;
}

#homeBtn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    box-shadow: 0 4px 15px rgba(238, 90, 90, 0.4);
}

#homeBtn:hover {
    background: linear-gradient(135deg, #ff5252, #e04848);
}

#scrollUpBtn, #scrollDownBtn {
    background: white;
    color: var(--ms-blue);
    border: 2px solid var(--ms-blue);
}

#scrollUpBtn:hover, #scrollDownBtn:hover {
    background: var(--ms-blue);
    color: white;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.5rem;
    color: var(--ms-blue);
}

.logo-icon {
    height: 24px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--ms-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.15);
    animation: floatIcon 20s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 25%; left: 85%; animation-delay: -4s; }
.floating-icon:nth-child(3) { top: 60%; left: 8%; animation-delay: -8s; }
.floating-icon:nth-child(4) { top: 70%; left: 90%; animation-delay: -12s; }
.floating-icon:nth-child(5) { top: 40%; left: 5%; animation-delay: -2s; }
.floating-icon:nth-child(6) { top: 80%; left: 15%; animation-delay: -6s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    50% { transform: translateY(-30px) rotate(10deg); opacity: 0.25; }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.imple-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.product-badge img {
    height: 32px;
}

.product-badge span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--ms-blue);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Content Sections */
.content-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.content-section h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.content-section h2 .highlight {
    color: var(--ms-blue);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Section with Background */
.section-with-bg {
    background: rgba(245, 245, 245, 0.95);
    max-width: 100%;
    padding: 5rem 2rem;
    position: relative;
}

.section-with-bg > *:not(h2):not(.section-intro) {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Cards */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-hover);
    border-color: var(--ms-blue);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--ms-blue), var(--ms-blue-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.75rem;
    color: white;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Checklist Style */
.checklist {
    max-width: 800px;
    margin: 2rem auto 0;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.check-item:hover {
    border-color: var(--ms-green);
    box-shadow: 0 4px 15px rgba(16, 124, 16, 0.1);
}

.check-icon {
    width: 28px;
    height: 28px;
    background: var(--ms-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon i {
    color: white;
    font-size: 0.9rem;
}

.check-item p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
}

.check-item strong {
    color: var(--ms-blue);
}

/* Plan Comparison Table */
.plan-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.plan-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.plan-table th,
.plan-table td {
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.plan-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.plan-table th.premium {
    background: linear-gradient(135deg, var(--ms-purple), #7b3fa0);
    color: white;
}

.plan-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.plan-table tr:last-child td {
    border-bottom: none;
}

.plan-table tr:hover td {
    background: #f8f9fa;
}

.plan-table .check {
    color: var(--ms-green);
    font-weight: bold;
}

.plan-table .dash {
    color: #ccc;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--ms-blue), var(--ms-blue-dark));
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.cta-box h3 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-box .cta-button {
    background: white;
    color: var(--ms-blue);
}

/* Chart Comparison */
.chart-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.chart-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.chart-box h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.chart-box canvas {
    max-height: 300px;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--ms-blue);
    color: white;
    font-weight: 600;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table .m365-cell {
    background: linear-gradient(135deg, #f0f7ff, #e6f2ff);
    vertical-align: middle;
}

.comparison-table .m365-cell .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ms-blue);
}

.comparison-table .saving-cell {
    background: #e8f5e9;
    vertical-align: middle;
}

.comparison-table .saving-badge {
    display: inline-block;
    background: var(--ms-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.comparison-table .saving-cell p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.comparison-table .total-row {
    background: var(--bg-secondary);
}

.comparison-table .total-row td {
    border-bottom: none;
}

/* Before / After */
.before-after {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ba-column {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.ba-column.before {
    border-top: 4px solid #dc3545;
}

.ba-column.after {
    border-top: 4px solid var(--ms-green);
}

.ba-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ba-header i {
    font-size: 2rem;
}

.ba-column.before .ba-header i {
    color: #dc3545;
}

.ba-column.after .ba-header i {
    color: var(--ms-green);
}

.ba-header h4 {
    font-size: 1.25rem;
    margin: 0;
}

.ba-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.ba-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.ba-list li i {
    color: var(--ms-blue);
    font-size: 1.25rem;
}

.ba-column.after .ba-list li {
    font-weight: 600;
    color: var(--ms-blue);
    font-size: 1.1rem;
}

.ba-problems span,
.ba-benefits span {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.ba-problems span {
    color: #dc3545;
}

.ba-benefits span {
    color: var(--ms-green);
}

.ba-problems span i,
.ba-benefits span i {
    margin-right: 0.5rem;
}

.ba-arrow {
    display: flex;
    align-items: center;
    font-size: 2.5rem;
    color: var(--ms-blue);
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon i {
    font-size: 1.75rem;
    color: white;
}

.app-item span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.app-item.copilot {
    position: relative;
    border: 2px solid #7B68EE;
}

.app-item.copilot small {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #7B68EE, #9370DB);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Copilot Features */
.copilot-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.copilot-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.copilot-item:hover {
    border-color: #7B68EE;
    box-shadow: 0 8px 30px rgba(123, 104, 238, 0.15);
}

.copilot-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7B68EE, #9370DB);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.copilot-icon i {
    font-size: 1.5rem;
    color: white;
}

.copilot-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.copilot-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.copilot-example {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #5B21B6;
    font-style: italic;
    border-left: 3px solid #7B68EE;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ms-blue-light);
}

.footer-logo-img {
    height: 36px;
    width: auto;
    margin-bottom: 1rem;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-copyright {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .main-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-value {
        font-size: 2rem;
    }

    .nav-buttons {
        right: 1rem;
        bottom: 1rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    .plan-table th,
    .plan-table td {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .chart-comparison {
        grid-template-columns: 1fr;
    }

    .before-after {
        flex-direction: column;
    }

    .ba-arrow {
        transform: rotate(90deg);
        justify-content: center;
        padding: 1rem 0;
    }

    .apps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .app-item {
        padding: 1rem;
    }

    .app-icon {
        width: 44px;
        height: 44px;
    }

    .app-icon i {
        font-size: 1.25rem;
    }

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