/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --green-500: #22c55e;
    --orange-500: #f97316;
    --purple-500: #a855f7;
    --pink-500: #ec4899;
    --teal-500: #14b8a6;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    padding: 10px 22px;
    white-space: nowrap;
}

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-primary {
    background: var(--blue-600);
    color: #fff;
    border-color: var(--blue-600);
}
.btn-primary:hover {
    background: var(--blue-700);
    border-color: var(--blue-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}
.btn-outline:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.btn-white {
    background: #fff;
    color: var(--blue-600);
    border-color: #fff;
}
.btn-white:hover {
    background: var(--blue-50);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.25);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    z-index: 999;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu a {
    display: block;
    padding: 12px 16px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.mobile-menu a:hover {
    background: var(--gray-50);
}

/* ===== Hero ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue-600), var(--purple-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--gray-300);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

.mock-document {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.mock-doc-header {
    display: flex;
    gap: 6px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-100);
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #f59e0b; }
.mock-dot.green { background: #22c55e; }

.mock-doc-body {
    padding: 24px;
}

.mock-line {
    height: 10px;
    background: var(--gray-100);
    border-radius: 4px;
    margin-bottom: 10px;
}

.w50 { width: 50%; }
.w60 { width: 60%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w90 { width: 90%; }

.mock-spacer { height: 14px; }

.mock-signature {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px dashed var(--gray-200);
}

.signature-svg {
    width: 160px;
    height: 50px;
    opacity: 0.9;
}

.signature-label {
    font-size: 0.7rem;
    color: var(--blue-600);
    font-weight: 600;
    margin-top: 6px;
}

.mock-badge {
    position: absolute;
    top: 56px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 100px;
    border: 1px solid #bbf7d0;
}

/* ===== Trusted By ===== */
.trusted-by {
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-100);
}

.trusted-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.company-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-300);
    letter-spacing: -0.02em;
}

/* ===== Section Shared ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-600);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 14px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 580px;
    margin: 0 auto;
}

/* ===== Features ===== */
.features {
    padding: 96px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--blue-200, #bfdbfe);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon.blue { background: var(--blue-100); color: var(--blue-600); }
.feature-icon.green { background: #dcfce7; color: var(--green-500); }
.feature-icon.purple { background: #f3e8ff; color: var(--purple-500); }
.feature-icon.orange { background: #fff7ed; color: var(--orange-500); }
.feature-icon.pink { background: #fce7f3; color: var(--pink-500); }
.feature-icon.teal { background: #ccfbf1; color: var(--teal-500); }

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 96px 0;
    background: var(--gray-50);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue-600);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: var(--gray-300);
    margin-top: 28px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Security ===== */
.security {
    padding: 96px 0;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.security-content .section-tag {
    display: inline-block;
}

.security-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.25;
}

.security-content > p {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.7;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.security-list svg {
    flex-shrink: 0;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-graphic {
    animation: float 6s ease-in-out infinite;
}

.shield-graphic svg {
    width: 200px;
    filter: drop-shadow(0 20px 40px rgba(37,99,235,0.2));
}

/* ===== Download ===== */
.download {
    padding: 96px 0;
    background: var(--gray-50);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.download-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

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

.download-card.featured {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 1px var(--blue-500), var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-600);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.os-icon {
    margin-bottom: 16px;
}

.os-icon svg {
    width: 48px;
    height: 48px;
    margin: 0 auto;
}

.download-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.os-version {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.file-info {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.btn-download {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}

.linux-extras {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.linux-extras a {
    font-size: 0.8rem;
    color: var(--blue-600);
    font-weight: 600;
    padding: 4px 10px;
    border: 1px solid var(--blue-200, #bfdbfe);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.linux-extras a:hover {
    background: var(--blue-50);
}

.checksum {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-400);
    font-family: monospace;
}

.download-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.download-note a {
    color: var(--blue-600);
    text-decoration: underline;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 96px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.stars svg {
    width: 18px;
    height: 18px;
}

.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-900);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== CTA ===== */
.cta {
    padding: 96px 0;
    background: var(--gray-50);
}

.cta-box {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.cta-box > p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
    margin: 0 auto 32px;
}

.cta-actions {
    margin-bottom: 16px;
}

.cta-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 14px;
    color: #fff;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-400);
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--gray-700);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--gray-400);
    transition: color 0.2s;
}

.social-links a:hover {
    color: #fff;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .features-grid,
    .download-grid,
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .security-grid { gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav-links,
    .navbar .btn { display: none; }
    .mobile-toggle { display: flex; }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 { font-size: 2.25rem; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }

    .features-grid,
    .download-grid,
    .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .steps {
        flex-direction: column;
        align-items: center;
    }
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    .step { padding: 0; }

    .security-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .security-list { align-items: center; }
    .security-visual { order: -1; }

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

    .cta-box { padding: 40px 24px; }
    .cta-box h2 { font-size: 1.75rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.85rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }
}
