* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0078d4;
    --primary-dark: #005a9e;
    --secondary: #00bcf2;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #0078d4 0%, #00bcf2 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.windows-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    background: var(--gradient);
    color: var(--white);
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.version {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.hero-screenshot {
    margin-top: 3rem;
    text-align: center;
}

.hero-screenshot img {
    max-width: min(100%, 640px);
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Versions Section */
.versions {
    padding: 80px 0;
}

.versions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.versions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.version-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.version-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.version-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.version-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.version-card ul {
    list-style: none;
}

.version-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.version-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Specs Section */
.specs {
    padding: 80px 0;
    background: var(--dark);
    color: var(--white);
}

.specs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.spec-column {
    background: var(--dark-light);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.spec-column.recommended {
    border-color: var(--secondary);
}

.spec-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.spec-column ul {
    list-style: none;
}

.spec-column ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.spec-column ul li:last-child {
    border-bottom: none;
}

.spec-column strong {
    color: var(--white);
}

/* Office Section */
.office {
    padding: 80px 0;
    background: var(--light-gray);
}

.office h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.office-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.office-screenshot {
    margin-bottom: 2.5rem;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.office-app {
    text-align: center;
}

.app-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: var(--white);
    box-shadow: var(--shadow);
}

.app-icon.word {
    background: linear-gradient(135deg, #2b579a 0%, #185abd 100%);
}

.app-icon.excel {
    background: linear-gradient(135deg, #1f6f3c 0%, #217346 100%);
}

.app-icon.powerpoint {
    background: linear-gradient(135deg, #b7472a 0%, #d24726 100%);
}

.app-icon.outlook {
    background: linear-gradient(135deg, #0072c6 0%, #0078d4 100%);
}

.app-icon.access {
    background: linear-gradient(135deg, #a4373a 0%, #d13438 100%);
}

.app-icon.publisher {
    background: linear-gradient(135deg, #077568 0%, #00a5a0 100%);
}

.office-app h4 {
    font-size: 1.2rem;
    color: var(--dark);
}

/* Additional Info Section */
.additional-info {
    padding: 80px 0;
    background: var(--white);
}

.additional-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.info-item ul {
    list-style: none;
}

.info-item ul li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
    line-height: 1.6;
}

.info-item ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--light-gray);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
    margin: 0;
}

/* Install Section */
.install {
    padding: 80px 0;
    background: var(--white);
}

.install h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.install-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.install-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    justify-items: center;
}

.screenshot-block {
    text-align: center;
}

.screenshot-block img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.screenshot-caption {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray);
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.install-step {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.install-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.3);
}

.install-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.install-step p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s;
}

.download-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.rufus-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.2);
}

.rufus-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.4);
}

.rufus-icon {
    font-size: 1.3rem;
}

.external-icon {
    font-size: 1.2rem;
    opacity: 0.8;
}

.rufus-info {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    border-left: 5px solid var(--primary);
}

.rufus-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.rufus-info ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.rufus-info ul li {
    color: var(--dark);
    font-size: 1.05rem;
    padding: 0.5rem 0;
}

/* Download CTA */
.download-cta {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.download-cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-cta p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.download-icon {
    font-size: 1.5rem;
}

.btn-large {
    padding: 20px 60px;
    font-size: 1.3rem;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.download-info {
    margin-top: 1.5rem;
    font-size: 1rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
}

.footer-note {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .install-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .download-buttons {
        width: 100%;
        padding: 0 20px;
    }

    .features h2,
    .versions h2,
    .specs h2,
    .office h2,
    .additional-info h2,
    .faq h2 {
        font-size: 2rem;
    }

    .features-grid,
    .office-grid,
    .info-grid,
    .faq-grid,
    .install-grid {
        grid-template-columns: 1fr;
    }

    .download-cta h2 {
        font-size: 2rem;
    }
}