:root {
    --bg-main: #000000;
    --bg-card: rgba(28, 28, 30, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #86868b;
    --accent: #2997ff;
    --accent-hover: #5ac8fa;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    --transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.4;
    overflow-x: hidden;
}

/* Typography */
h1 { font-size: 4rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 1.5rem; }
h2 { font-size: 3rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
p { font-size: 1.25rem; color: var(--text-secondary); }

.accent-text { color: var(--accent); }
.secondary-text { color: var(--text-secondary); }

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 10%;
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
}

.nav-logo {
    width: 160px; /* Increased size */
    height: auto;
    max-height: 80px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.footer-logo-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    opacity: 0.8;
}

.footer-logo {
    width: 160px;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-links a:hover { opacity: 1; color: var(--accent); }

.btn-primary {
    background: var(--accent);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600 !important;
    opacity: 1 !important;
    white-space: nowrap;
}

/* Sections */
main { padding-top: 120px; }

section {
    padding: 8rem 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero { min-height: 80vh; justify-content: center; }
.hero .subtitle { max-width: 600px; margin-bottom: 4rem; }

.hero-image-container {
    width: 100%;
    max-width: 1000px;
    perspective: 1000px;
}

.main-shot {
    width: 100%;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    transform: rotateX(5deg);
    transition: var(--transition);
}

.main-shot:hover {
    transform: rotateX(0deg) scale(1.02);
}

/* Features */
.features { background: rgba(255,255,255,0.02); }
.section-header { margin-bottom: 6rem; max-width: 800px; }

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    width: 100%;
    max-width: 1100px;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(40px);
}

.feature-card.alt {
    grid-template-columns: 1.2fr 1fr;
}

.feature-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

/* CTA */
.cta .glass-box {
    background: linear-gradient(135deg, rgba(41,151,255,0.1) 0%, rgba(0,0,0,0) 100%);
    padding: 6rem;
    border-radius: 50px;
    border: 1px solid rgba(41,151,255,0.2);
    width: 100%;
    max-width: 900px;
}

.cta h2 { margin-bottom: 2rem; }
.cta p { margin-bottom: 3rem; }

/* Footer */
footer {
    padding: 4rem 10%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Responsive */
@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .feature-card { grid-template-columns: 1fr !important; gap: 2rem; }
    .feature-image { order: 2; }
    .feature-content { order: 1; }
    nav { padding: 1rem 5%; }
    .nav-links { display: none; }
    
    section { padding: 4rem 3%; }
    .cta .glass-box { 
        padding: 3rem 1rem; 
        width: 100%;
        border-radius: 32px;
    }
    h1 { font-size: 2.2rem; }
    .cta h2 { font-size: 1.8rem; }
    p { font-size: 1.1rem; }
    .btn-primary { padding: 0.6rem 1rem; font-size: 0.95rem; }
}
