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

:root {
    --cf-orange: #F6821F;
    --cf-orange-light: #FBAD41;
    --cf-blue: #0051C3;
    --cf-dark: #1d1d1d;
    --lines-purple: #7C3AED;
    --lines-pink: #EC4899;
    --lines-gradient: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border-color: #2a2a3a;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Cloudflare Badge */
.cf-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(18, 18, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    z-index: 1000;
    transition: all 0.3s ease;
}

.cf-badge:hover {
    border-color: var(--cf-orange);
    color: var(--cf-orange);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--lines-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.cta-btn {
    background: var(--lines-gradient);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(246, 130, 31, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px;
    min-height: calc(100vh - 100px);
}

.hero-text {
    max-width: 560px;
}

.badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: var(--lines-purple);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--success);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.primary-btn {
    background: var(--lines-gradient);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.primary-btn.large {
    padding: 20px 40px;
    font-size: 18px;
}

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

/* Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #1a1a25;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow), var(--shadow-glow);
    border: 1px solid var(--border-color);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1e1e2e 0%, #0f0f1a 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.map-container {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(rgba(15, 15, 26, 0.3), rgba(15, 15, 26, 0.3)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect fill="%231a1a2e" width="400" height="400"/><path d="M0 50 L400 50 M0 100 L400 100 M0 150 L400 150 M0 200 L400 200 M0 250 L400 250 M0 300 L400 300 M0 350 L400 350 M50 0 L50 400 M100 0 L100 400 M150 0 L150 400 M200 0 L200 400 M250 0 L250 400 M300 0 L300 400 M350 0 L350 400" stroke="%232a2a3a" stroke-width="1"/></svg>');
    background-size: cover;
}

.map-overlay {
    position: relative;
    width: 100%;
    height: 100%;
}

.venue-marker {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.venue-marker:hover {
    transform: scale(1.1);
}

.marker-pulse {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.venue-marker.hot .marker-pulse {
    background: var(--danger);
    box-shadow: 0 0 20px var(--danger);
}

.venue-marker.warm .marker-pulse {
    background: var(--warning);
    box-shadow: 0 0 20px var(--warning);
}

.venue-marker.cool .marker-pulse {
    background: var(--success);
    box-shadow: 0 0 20px var(--success);
}

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

.marker-label {
    font-size: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
    white-space: nowrap;
}

.phone-ui {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(15, 15, 26, 0.95));
}

.search-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.search-bar svg {
    width: 18px;
    height: 18px;
}

.quick-filters {
    display: flex;
    gap: 8px;
}

.filter {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

.filter.active {
    background: var(--lines-gradient);
    color: white;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    left: -40px;
    animation-delay: 1.5s;
}

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

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lines-purple);
}

.floating-card strong {
    display: block;
    font-size: 14px;
}

.floating-card small {
    font-size: 12px;
    color: var(--text-muted);
}

/* Section Styles */
section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    background: rgba(246, 130, 31, 0.1);
    border: 1px solid rgba(246, 130, 31, 0.3);
    color: var(--cf-orange);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Goals Section */
.goals-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d15 100%);
}

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

.goal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}

.goal-card:hover {
    border-color: var(--lines-purple);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.goal-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.goal-icon svg {
    width: 28px;
    height: 28px;
}

.goal-icon.retention {
    background: rgba(124, 58, 237, 0.1);
    color: var(--lines-purple);
}

.goal-icon.australia {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.goal-icon.revenue {
    background: rgba(246, 130, 31, 0.1);
    color: var(--cf-orange);
}

.goal-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.goal-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.goal-features {
    list-style: none;
}

.goal-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.goal-features svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

/* Performance Section */
.performance-section {
    background: var(--bg-dark);
}

.performance-demo {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.demo-controls {
    text-align: center;
    margin-bottom: 40px;
}

.demo-controls h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.demo-controls p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.test-btn {
    background: var(--cf-orange);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.test-btn:hover {
    background: var(--cf-orange-light);
    transform: translateY(-2px);
}

.test-btn svg {
    width: 20px;
    height: 20px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.comparison-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.comparison-card.after {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.05);
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.comparison-label {
    font-weight: 600;
}

.comparison-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.comparison-badge.bad {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.comparison-badge.good {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.metric-row:last-of-type {
    border-bottom: none;
}

.metric-value {
    font-weight: 600;
}

.metric-value.bad {
    color: var(--danger);
}

.metric-value.good {
    color: var(--success);
}

.latency-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 20px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.bar-fill.bad {
    background: var(--danger);
}

.bar-fill.good {
    background: var(--success);
}

/* Cache Demo */
.cache-demo h4 {
    margin-bottom: 20px;
}

.cache-rules {
    display: grid;
    gap: 16px;
}

.cache-rule {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-family: monospace;
    color: var(--cf-orange);
}

.rule-header svg {
    width: 20px;
    height: 20px;
}

.rule-config {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.rule-config span {
    background: rgba(124, 58, 237, 0.1);
    color: var(--lines-purple);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-family: monospace;
}

/* Security Section */
.security-section {
    background: linear-gradient(180deg, #0d0d15 0%, var(--bg-dark) 100%);
}

.security-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    margin-bottom: 40px;
}

.security-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.security-card.main {
    grid-row: span 2;
}

.threat-monitor h4 {
    margin-bottom: 20px;
}

.threat-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.threat-stat {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius);
}

.threat-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--danger);
}

.threat-value.good {
    color: var(--success);
}

.threat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.threat-feed {
    max-height: 200px;
    overflow-y: auto;
}

.threat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.threat-item .icon {
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--danger);
}

.threat-item .details {
    flex: 1;
}

.threat-item .type {
    font-weight: 500;
}

.threat-item .meta {
    font-size: 11px;
    color: var(--text-muted);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(246, 130, 31, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cf-orange);
    margin-bottom: 16px;
}

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

.security-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.security-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.feature-detail {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 13px;
}

.detail-label {
    color: var(--text-muted);
}

.detail-value {
    color: var(--cf-orange);
    font-weight: 500;
}

/* WAF Comparison Table */
.waf-comparison {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.waf-comparison h4 {
    margin-bottom: 24px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

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

.comparison-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
}

.comparison-table td.bad {
    color: var(--danger);
}

.comparison-table td.good {
    color: var(--success);
}

/* Media Section */
.media-section {
    background: var(--bg-dark);
}

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

.media-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.media-preview {
    height: 200px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player {
    width: 90%;
    height: 80%;
    background: #000;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.video-overlay svg {
    width: 48px;
    height: 48px;
    color: white;
    opacity: 0.8;
}

.video-info {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.venue-name {
    font-size: 12px;
    font-weight: 500;
}

.live-badge {
    background: var(--danger);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.image-grid-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 20px;
}

.img-thumb {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--lines-purple), var(--lines-pink));
    border-radius: 8px;
    opacity: 0.6;
}

.r2-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--cf-orange);
}

.r2-visual svg {
    width: 48px;
    height: 48px;
}

.media-details {
    padding: 24px;
}

.media-details h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.media-details > p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.media-details ul {
    list-style: none;
    margin-bottom: 16px;
}

.media-details li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.media-details li svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

.cost-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cost-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.cost-item span:first-child {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.cost-value {
    font-weight: 600;
    color: var(--cf-orange);
}

.transform-demo {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
}

.transform-demo code {
    font-size: 12px;
    color: var(--success);
    white-space: nowrap;
}

.savings-calc {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.savings-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.savings-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--success);
}

/* Vercel Integration Section */
.vercel-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d15 100%);
}

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

.option-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
}

.option-card.recommended {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.05);
}

.option-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.option-badge.future {
    background: var(--lines-purple);
}

.option-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.option-card > p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.option-diagram {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.diagram-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.diagram-node {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.diagram-node.cf {
    border-color: var(--cf-orange);
    background: rgba(246, 130, 31, 0.1);
}

.diagram-node.cf.full {
    border-color: var(--cf-orange);
    background: rgba(246, 130, 31, 0.15);
}

.diagram-node.vercel {
    border-color: #000;
    background: rgba(255, 255, 255, 0.05);
}

.diagram-node small {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
}

.diagram-arrow {
    color: var(--text-muted);
    font-size: 20px;
}

.option-benefits {
    list-style: none;
}

.option-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.option-benefits svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

.option-benefits svg.warning {
    color: var(--warning);
}

/* Analytics Section */
.analytics-section {
    background: #0d0d15;
}

.dashboard-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.time-range {
    color: var(--text-muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
}

.dash-card {
    background: var(--bg-card);
    padding: 24px;
    text-align: center;
}

.dash-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.dash-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.dash-trend {
    font-size: 12px;
    color: var(--text-muted);
}

.dash-trend.up {
    color: var(--success);
}

.traffic-chart {
    padding: 24px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 120px;
    margin-bottom: 16px;
}

.chart-bar {
    flex: 1;
    background: var(--success);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 0.5s ease;
}

.chart-bar .bot-portion {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--danger);
    border-radius: 0;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 8px;
}

.legend-dot.good {
    background: var(--success);
}

.legend-dot.bad {
    background: var(--danger);
}

/* Package Section */
.package-section {
    background: var(--bg-dark);
}

.package-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(246, 130, 31, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.package-header {
    text-align: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.2);
}

.package-header h3 {
    font-size: 32px;
    margin-bottom: 8px;
}

.package-header p {
    color: var(--text-secondary);
}

.package-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
}

.feature-group {
    background: var(--bg-card);
    padding: 32px;
}

.feature-group h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--cf-orange);
}

.feature-group ul {
    list-style: none;
}

.feature-group li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-group svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

.package-cta {
    text-align: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.2);
}

.package-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: #050508;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--cf-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .goals-grid,
    .media-grid,
    .integration-options {
        grid-template-columns: 1fr;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .security-card.main {
        grid-row: auto;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .package-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 16px 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .dashboard-grid,
    .package-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
