:root {
    --bg-dark: #09090b;
    --bg-card: rgba(24, 24, 27, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #00C6FF;
    --accent-purple: #0072FF;
    --accent-green: #10b981;
    --accent-warning: #FFB020;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: rgba(0, 198, 255, 0.3);
    color: white;
}

/* Background Effects */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,198,255,0.4) 0%, rgba(0,114,255,0) 70%);
    animation-delay: -5s;
}

.orb-2 {
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.25) 0%, rgba(0,0,0,0) 70%);
    animation-duration: 25s;
}

.orb-3 {
    bottom: -20%;
    left: 20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,114,255,0.3) 0%, rgba(0,0,0,0) 70%);
}

.glass-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
}

/* Subtle grain texture for premium feel */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Glassmorphism Utilities */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary, .btn-primary-small {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
}

.btn-primary:hover, .btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 114, 255, 0.6);
    filter: brightness(1.1);
}

.btn-primary {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 8px;
}

.btn-secondary {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 100;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary-small) {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a:not(.btn-primary-small)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.nav-links a:not(.btn-primary-small):hover::after {
    width: 100%;
}

/* Container Utility */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero .badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visual Mockup */
.hero-visual {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.mockup-container {
    position: relative;
    width: 600px;
    height: 400px;
}

.app-mockup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease, opacity 0.8s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
}

.app-mockup.active {
    opacity: 1;
    pointer-events: auto;
}

.mockup-container:hover .app-mockup.active {
    transform: rotateY(0deg) rotateX(0deg);
}

/* Terminal Body Styles */
.terminal-body {
    background: #0f172a !important;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    padding: 1.5rem !important;
    color: #e2e8f0;
}

.terminal-content {
    font-size: 0.85rem;
    line-height: 1.6;
}

.term-prompt { color: #10b981; }
.term-user { color: #10b981; font-weight: bold; }
.term-dir { color: #3b82f6; font-weight: bold; }
.term-line.output {
    color: #94a3b8;
    white-space: pre-wrap;
    word-break: break-all;
    margin-top: 0.5rem;
}

.term-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: #e2e8f0;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

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

.mockup-header {
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    position: relative;
}

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

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.window-controls .close { background: #FF5F56; }
.window-controls .minimize { background: #FFBD2E; }
.window-controls .maximize { background: #27C93F; }

.address-bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.mockup-body {
    display: flex;
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
}

.sidebar {
    width: 160px;
    border-right: 1px solid var(--glass-border);
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.menu-item {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item:hover, .menu-item.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.folder-content {
    flex: 1;
    padding: 1rem;
}

.file-row {
    display: flex;
    padding: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: center;
}

.file-row:hover:not(.header) {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    cursor: pointer;
}

.file-row.header {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.5rem;
}

.file-row span {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-row span:nth-child(1) { flex: 2; }

/* Floating Badges */
.floating-badge {
    position: absolute;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 12px;
    animation: float 6s infinite ease-in-out;
}

.floating-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.badge-transfer {
    top: -20px;
    right: -40px;
    animation-delay: 0s;
}

.badge-secure {
    bottom: 20px;
    left: -40px;
    animation-delay: 2s;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
}

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

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    border: 1px solid var(--glass-border);
}

.icon-box svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

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

/* Performance Section */
.performance-section {
    padding: 8rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.metrics-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.metric-card {
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.metric-card:hover .metric-icon {
    transform: scale(1.1);
}

.metric-card:nth-child(1):hover .metric-icon {
    box-shadow: 0 0 25px rgba(0, 198, 255, 0.3);
}
.metric-card:nth-child(2):hover .metric-icon {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}
.metric-card:nth-child(3):hover .metric-icon {
    box-shadow: 0 0 25px rgba(255, 176, 32, 0.3);
}

.metric-icon svg {
    width: 30px;
    height: 30px;
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-card:nth-child(2) .metric-value {
    background: linear-gradient(135deg, var(--accent-green) 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.metric-card:nth-child(3) .metric-value {
    background: linear-gradient(135deg, var(--accent-warning) 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.metric-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.metric-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Highlight Section */
.highlight-section {
    padding: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4rem 0;
    gap: 4rem;
}

.highlight-content {
    flex: 1;
}

.highlight-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-list li svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.highlight-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 300px;
}

.lock-orb {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 30px rgba(16,185,129,0.2);
}

.lock-orb svg {
    width: 36px;
    height: 36px;
}

.ripple-outer, .ripple-inner {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(16,185,129,0.2);
    animation: ripple 4s infinite linear;
}

.ripple-inner {
    width: 150px;
    height: 150px;
    animation-delay: 2s;
}

.ripple-outer {
    width: 250px;
    height: 250px;
}

@keyframes ripple {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 8rem 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,114,255,0.12) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-primary.large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    position: relative;
    animation: ctaPulse 3s infinite ease-in-out;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(0, 114, 255, 0.7), 0 0 60px rgba(0, 198, 255, 0.2); }
}

.version-info {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo p {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-20px) translateX(10px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1) rotateY(-5deg) rotateX(5deg);
    }
}

/* Scroll Reveal Classes (Handled by JS) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }
    
    .hero-content {
        max-width: 800px;
    }

    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 4rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .badge-transfer { right: 0; }
    .badge-secure { left: 0; }
    
    .highlight-section {
        flex-direction: column;
        padding: 3rem;
        text-align: center;
    }

    .check-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    
    .nav-links { display: none; }
    
    .mockup-container {
        width: 100%;
        height: 350px;
    }
    
    .sidebar { display: none; }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .metrics-wrapper {
        grid-template-columns: 1fr;
    }

    .performance-section {
        padding: 4rem 0;
    }
}
