/* ===== ARCTIC FROST THEME ===== */
/* Cool, crisp, professional - perfect for tech products */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Core palette - Arctic Frost */
    --ice-blue: #d4e4f7;
    --steel-blue: #4a6fa5;
    --steel-blue-dark: #3a5a8a;
    --steel-blue-light: #6b8fc5;
    --silver: #c0c0c0;
    --crisp-white: #fafafa;
    --snow-white: #ffffff;

    /* Extended palette */
    --frost-light: #e8f0fa;
    --frost-dark: #b8d0ed;
    --charcoal: #2d3748;
    --slate: #4a5568;
    --muted: #718096;

    /* Semantic colors */
    --success: #48bb78;
    --warning: #ed8936;
    --error: #f56565;

    /* Text colors */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-inverse: #ffffff;

    /* Borders */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e0;

    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--crisp-white);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--steel-blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--steel-blue-dark);
}

::selection {
    background: var(--steel-blue);
    color: var(--snow-white);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
}

.highlight {
    color: var(--steel-blue);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--steel-blue);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--steel-blue);
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    background: var(--steel-blue);
    color: var(--snow-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--steel-blue);
    color: var(--snow-white);
}

.btn-primary:hover {
    background: var(--steel-blue-dark);
    border-color: var(--steel-blue-dark);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

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

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

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--steel-blue);
    color: var(--snow-white);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--frost-light) 0%, var(--crisp-white) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(74, 111, 165, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(212, 228, 247, 0.5), transparent);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--snow-white);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 24px 0;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--steel-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ===== Terminal Demo ===== */
.hero-image {
    margin-top: 60px;
    padding: 0 20px;
}

.window-frame {
    background: var(--charcoal);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
}

.window-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #1a202c;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.window-buttons {
    display: flex;
    gap: 8px;
}

.window-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
}

.window-btn.red { background: #ff5f57; }
.window-btn.yellow { background: #febc2e; }
.window-btn.green { background: #28c840; }

.window-title {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.window-content {
    padding: 0;
}

.terminal-demo {
    display: flex;
    min-height: 300px;
}

.sidebar-demo {
    width: 200px;
    background: #242d3a;
    border-right: 1px solid rgba(255,255,255,0.1);
    padding: 12px 8px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    border-radius: var(--radius-sm);
    cursor: default;
}

.sidebar-item.active {
    background: var(--steel-blue);
    color: var(--snow-white);
}

.sidebar-section {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    padding: 16px 12px 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.sidebar-item.nested {
    padding-left: 24px;
    color: rgba(255,255,255,0.5);
}

.terminal-content {
    flex: 1;
    padding: 16px 20px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.terminal-line .prompt {
    color: var(--steel-blue-light);
}

.terminal-line.output {
    color: rgba(255,255,255,0.6);
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--steel-blue-light);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ===== Platforms Section ===== */
.platforms {
    padding: 60px 0;
    background: var(--snow-white);
}

.platform-cards {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.platform-card {
    text-align: center;
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.platform-card:hover {
    background: var(--frost-light);
}

.platform-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ice-blue);
    border-radius: var(--radius-lg);
    color: var(--steel-blue);
    font-size: 1.5rem;
}

.platform-icon svg {
    width: 32px;
    height: 32px;
}

.platform-card h4 {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===== Protocols Section ===== */
.protocols {
    padding: 48px 0 80px;
}

.protocol-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.protocol-card {
    background: var(--snow-white);
    padding: 28px 24px;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}

.protocol-card:hover {
    border-color: var(--steel-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.protocol-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--steel-blue);
}

.protocol-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Protocol specific colors */
.protocol-card.ssh h3 { color: var(--steel-blue); }
.protocol-card.sftp h3 { color: #0891b2; }
.protocol-card.vnc h3 { color: #7c3aed; }
.protocol-card.rdp h3 { color: #dc2626; }

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background: var(--frost-light);
}

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

.feature-card {
    background: var(--snow-white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ice-blue);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: var(--steel-blue);
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

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

/* ===== Comparison Section ===== */
.comparison {
    padding: 100px 0;
    background: var(--snow-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--frost-light);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.comparison-table th.highlight {
    color: var(--steel-blue);
    background: var(--ice-blue);
}

.comparison-table td {
    background: var(--snow-white);
}

.comparison-table td.highlight {
    background: rgba(74, 111, 165, 0.04);
}

.comparison-table tbody tr:hover td {
    background: var(--frost-light);
}

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

.comparison-table .check {
    color: var(--success);
    font-weight: 600;
}

.comparison-table .cross {
    color: var(--error);
}

.comparison-table .partial {
    color: var(--warning);
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 100px 0;
    background: var(--frost-light);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--snow-white);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all 0.2s;
}

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

.pricing-card.featured {
    border-color: var(--steel-blue);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--steel-blue);
    color: var(--snow-white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-header > p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--success);
    font-weight: 600;
}

.pricing-card .btn {
    width: 100%;
}

/* ===== Download Section ===== */
.download {
    padding: 100px 0;
    text-align: center;
    background: var(--snow-white);
}

.download-content {
    max-width: 640px;
    margin: 0 auto;
}

.download h2 {
    margin-bottom: 16px;
}

.download-content > p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.download-btn {
    flex-direction: column;
    padding: 24px 40px;
    min-width: 160px;
}

.download-meta {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 4px;
}

.download-alt {
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.download-alt p {
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.code-block {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--charcoal);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin: 4px;
}

.code-block code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--frost-light);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--silver);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 0.8rem;
    transition: color 0.2s;
    font-family: var(--font-sans);
}

.copy-btn:hover {
    color: var(--snow-white);
}

/* ===== Footer ===== */
.footer {
    padding: 80px 0 40px;
    background: var(--charcoal);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
    color: var(--snow-white);
}

.footer-brand .logo-icon {
    background: var(--steel-blue);
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--snow-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column a {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    padding: 8px 0;
}

.footer-column a:hover {
    color: var(--snow-white);
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: rgba(255,255,255,0.7);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .protocol-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .hero {
        padding: 120px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .terminal-demo {
        flex-direction: column;
    }

    .sidebar-demo {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .features-grid,
    .protocol-cards,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .platform-cards {
        gap: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}
