/* ============================================
   SS-Link.AI - 星空慧联 官网样式
   Design: Deep-tech dark theme with cyan accent
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --bg-primary: #080b14;
    --bg-secondary: #0c1120;
    --bg-tertiary: #111827;
    --bg-card: #12182b;
    --bg-card-hover: #171f36;
    --bg-elevated: #1a2340;

    --border-primary: rgba(255, 255, 255, 0.06);
    --border-secondary: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(0, 200, 255, 0.2);

    --text-primary: #f0f4ff;
    --text-secondary: #8892b0;
    --text-tertiary: #5a6380;
    --text-accent: #00c8ff;

    --accent-primary: #00c8ff;
    --accent-secondary: #00e5a0;
    --accent-warm: #ff6b4a;

    --gradient-accent: linear-gradient(135deg, #00c8ff, #00e5a0);
    --gradient-hero: linear-gradient(180deg, #080b14 0%, #0c1120 100%);
    --gradient-glow-1: radial-gradient(ellipse 600px 400px at 20% 40%, rgba(0, 200, 255, 0.08), transparent);
    --gradient-glow-2: radial-gradient(ellipse 500px 300px at 80% 60%, rgba(0, 229, 160, 0.06), transparent);

    /* Typography */
    --font-cn: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Noto Sans SC', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    --container-padding: 24px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 300ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-cn);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --- Section --- */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 200, 255, 0.08);
    border: 1px solid rgba(0, 200, 255, 0.15);
    border-radius: var(--radius-full);
    color: var(--text-accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(8, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    padding: 12px 0;
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo-dot {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-primary);
}

.nav-brand-cn {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-left: 10px;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
    background: var(--accent-primary);
    color: var(--bg-primary) !important;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-left: 8px;
}

.nav-cta:hover {
    background: #00d8ff;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 200, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-glow-1 {
    width: 600px;
    height: 400px;
    top: 20%;
    left: 10%;
    background: rgba(0, 200, 255, 0.07);
    animation: float 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 500px;
    height: 350px;
    bottom: 10%;
    right: 10%;
    background: rgba(0, 229, 160, 0.05);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--container-padding);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 200, 255, 0.06);
    border: 1px solid rgba(0, 200, 255, 0.12);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-title-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-cn);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

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

.btn-primary:hover {
    background: #00d8ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 200, 255, 0.25);
}

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

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 200, 255, 0.04);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.w-full {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

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

.hero-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-secondary);
}

/* ============================================
   Products Section
   ============================================ */
.products {
    background: var(--bg-secondary);
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.product-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon-primary {
    background: rgba(0, 200, 255, 0.1);
    color: var(--accent-primary);
}

.product-icon-secondary {
    background: rgba(0, 229, 160, 0.1);
    color: var(--accent-secondary);
}

.product-icon-tertiary {
    background: rgba(255, 107, 74, 0.1);
    color: var(--accent-warm);
}

.product-badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.product-badge-hot {
    background: rgba(255, 107, 74, 0.12);
    color: var(--accent-warm);
    border: 1px solid rgba(255, 107, 74, 0.2);
}

.product-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-perception {
    font-size: 14px;
    color: var(--accent-primary);
    font-style: italic;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-primary);
}

.product-list {
    flex: 1;
    margin-bottom: 24px;
}

.product-list li {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.product-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.6;
}

.product-card-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-primary);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    transition: gap var(--transition-fast);
}

.product-link:hover {
    gap: 10px;
}

/* Highlight Cards */
.products-highlight {
    margin-top: 40px;
}

.products-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.highlight-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-base);
}

.highlight-card:hover {
    transform: translateY(-2px);
}

.highlight-card-hook {
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.06), rgba(255, 107, 74, 0.02));
    border-color: rgba(255, 107, 74, 0.15);
}

.highlight-card-core {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.06), rgba(0, 229, 160, 0.03));
    border-color: rgba(0, 200, 255, 0.15);
}

.highlight-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.highlight-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.highlight-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.highlight-perception {
    font-size: 14px;
    color: var(--accent-primary);
    font-style: italic;
    border-left: 3px solid var(--accent-primary);
    padding-left: 12px;
}

/* ============================================
   USPs Section
   ============================================ */
.usps-grid {
    display: grid;
    gap: 24px;
}

.usp-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: start;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.usp-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.usp-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: rgba(0, 200, 255, 0.15);
    line-height: 1;
}

.usp-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.usp-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.usp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.usp-tags span {
    padding: 4px 12px;
    background: rgba(0, 200, 255, 0.06);
    border: 1px solid rgba(0, 200, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--accent-primary);
}

/* ============================================
   Customers Section
   ============================================ */
.customers {
    background: var(--bg-secondary);
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.customer-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.customer-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.customer-priority {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.customer-priority-primary {
    background: rgba(0, 200, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 200, 255, 0.2);
}

.customer-priority-secondary {
    background: rgba(0, 229, 160, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(0, 229, 160, 0.2);
}

.customer-priority-tertiary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-tertiary);
    border: 1px solid var(--border-secondary);
}

.customer-icon {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.customer-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.customer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Advantages Section
   ============================================ */
.advantages-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
}

.advantages-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.advantages-table thead {
    background: var(--bg-card);
}

.advantages-table th {
    padding: 16px 24px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-primary);
    white-space: nowrap;
}

.advantages-table td {
    padding: 16px 24px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-primary);
    line-height: 1.6;
}

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

.advantages-table tbody tr:hover {
    background: rgba(0, 200, 255, 0.02);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.pricing-card-popular {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(0, 200, 255, 0.06), var(--bg-card));
    box-shadow: 0 0 60px rgba(0, 200, 255, 0.08);
}

.pricing-popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.pricing-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-primary);
}

.pricing-tier {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-unit {
    font-size: 13px;
    color: var(--text-tertiary);
}

.pricing-body {
    flex: 1;
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.pricing-features {
    display: grid;
    gap: 12px;
}

.pricing-features li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    background: rgba(0, 200, 255, 0.1);
    border-radius: 50%;
}

.pricing-features li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 3px;
    border-left: 1.5px solid var(--accent-primary);
    border-bottom: 1.5px solid var(--accent-primary);
    transform: rotate(-45deg);
}

.pricing-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-primary);
}

/* Custom Pricing */
.pricing-custom {
    margin-top: 32px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    text-align: center;
}

.pricing-custom-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.pricing-custom-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Skills Section
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.skill-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.skill-num {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 200, 255, 0.08);
    border: 1px solid rgba(0, 200, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.skill-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.skill-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.skill-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.skill-stack span {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-tertiary);
}

.skill-output {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-primary);
    font-size: 13px;
    color: var(--text-secondary);
}

.skill-output svg {
    color: var(--accent-secondary);
}

/* ============================================
   Platform Section
   ============================================ */
.platform {
    background: var(--bg-secondary);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.platform-card {
    padding: 24px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
}

.platform-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.platform-priority {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 16px;
}

.platform-star {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: var(--border-primary);
}

.platform-star-filled {
    background: var(--accent-primary);
    box-shadow: 0 0 8px rgba(0, 200, 255, 0.3);
}

.platform-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.platform-role {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.platform-freq {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ============================================
   Content Strategy Section
   ============================================ */
.content-strategy {
    background: var(--bg-secondary);
}

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

.content-column {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.content-column:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.content-column-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: var(--radius-md);
    background: rgba(0, 200, 255, 0.08);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-column-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.content-column-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Roadmap Section
   ============================================ */
.roadmap {
    background: var(--bg-secondary);
}

.roadmap-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 140px;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 118px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), transparent);
}

.roadmap-item {
    position: relative;
    padding-bottom: 48px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
}

.roadmap-item:last-child {
    padding-bottom: 0;
}

.roadmap-time {
    position: absolute;
    left: -140px;
    top: 0;
    width: 120px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    padding-top: 2px;
}

.roadmap-dot {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.3);
}

.roadmap-content {
    padding-top: 2px;
}

.roadmap-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.roadmap-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary), rgba(0, 200, 255, 0.03));
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--border-primary);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-primary);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-logo-dot {
    color: var(--accent-primary);
}

.footer-brand-desc {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 8px;
}

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

.footer-col-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-link {
    display: block;
    font-size: 14px;
    color: var(--text-tertiary);
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent-primary);
}

/* QR Code Popup */
.footer-qr-item {
    position: relative;
    display: inline-block;
}

.footer-link-qr {
    cursor: pointer;
    display: block;
    user-select: none;
}

.footer-link-qr::after {
    content: ' ↗';
    font-size: 11px;
    opacity: 0.5;
}

.footer-qr-popup {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #111827;
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    width: 160px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.footer-qr-item:hover .footer-qr-popup {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.footer-qr-popup img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto 8px;
}

.footer-qr-popup p {
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.4;
}

.footer-qr-popup .qr-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-top: 2px;
}

/* Arrow under popup */
.footer-qr-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--border-primary);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger delay for grid items */
.reveal[style*="--delay: 1"] { transition-delay: 100ms; }
.reveal[style*="--delay: 2"] { transition-delay: 200ms; }
.reveal[style*="--delay: 3"] { transition-delay: 300ms; }
.reveal[style*="--delay: 4"] { transition-delay: 400ms; }

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .products-grid,
    .pricing-grid,
    .skills-grid,
    .content-columns {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .usp-card {
        grid-template-columns: 60px 1fr;
        gap: 20px;
        padding: 28px;
    }

    .usp-num {
        font-size: 28px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(8, 11, 20, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 80px 20px 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 18px;
        padding: 12px 24px;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 12px;
        padding: 14px 32px;
        font-size: 16px;
    }

    /* Hero */
    .hero {
        min-height: 90dvh;
        padding-top: 100px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-divider {
        height: 30px;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-highlight-grid {
        grid-template-columns: 1fr;
    }

    /* USPs */
    .usp-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .usp-num {
        font-size: 24px;
        margin-bottom: 8px;
    }

    /* Customers */
    .customers-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Platform */
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Content Columns */
    .content-columns {
        grid-template-columns: 1fr;
    }

    /* Roadmap */
    .roadmap-timeline {
        padding-left: 24px;
    }

    .roadmap-timeline::before {
        left: 7px;
    }

    .roadmap-time {
        position: static;
        text-align: left;
        width: auto;
        margin-bottom: 8px;
    }

    .roadmap-dot {
        position: absolute;
        left: -20px;
    }

    .roadmap-item {
        padding-bottom: 36px;
    }

    /* Footer */
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Advantages table */
    .advantages-table {
        font-size: 13px;
    }

    .advantages-table th,
    .advantages-table td {
        padding: 12px 16px;
    }

    /* Section header */
    .section-header {
        margin-bottom: 40px;
    }

    .section-desc {
        font-size: 15px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(0, 200, 255, 0.2);
    color: var(--text-primary);
}