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

:root {
    /* Rich Color Palette */
    --bg-deep: #020617;
    --bg-surface: #0f172a;
    --accent-primary: #6366f1;
    --accent-secondary: #0ea5e9;
    --accent-vibrant: #8b5cf6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Gradients */
    --grad-premium: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --grad-vibrant: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    
    /* Glassmorphism Tokens */
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.04);
    
    /* Transitions */
    --spring: cubic-bezier(0.16, 1, 0.3, 1);
    --snappy: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .logo span {
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- Premium Background Effects --- */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Grid Overlay */
.grid-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
    z-index: -1;
    pointer-events: none;
}

/* Ambient Orbs */
.ambient-orbs {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: orbFloat 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 500px; height: 500px;
    background: rgba(99, 102, 241, 0.4);
    top: -10%; left: -10%;
}

.orb-2 {
    width: 600px; height: 600px;
    background: rgba(14, 165, 233, 0.3);
    bottom: -20%; right: -10%;
    animation-delay: -5s;
    animation-direction: alternate-reverse;
}

.orb-3 {
    width: 400px; height: 400px;
    background: rgba(139, 92, 246, 0.3);
    top: 40%; left: 60%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 120px) scale(1.1); }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
    border: 3px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* --- Navbar --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s var(--spring);
}

nav.nav-scrolled {
    padding: 0.8rem 8%;
    background: rgba(2, 6, 23, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
}

.logo img {
    height: 42px;
    border-radius: 12px;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--grad-premium);
    transition: width 0.3s var(--spring);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-download {
    position: relative;
    background: var(--grad-premium);
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s var(--spring);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    z-index: 1;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6), 0 0 20px rgba(168, 85, 247, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 8% 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 680px;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1.8rem;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 10%, #94a3b8 50%, #ffffff 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s linear infinite;
}

.text-vibrant {
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #a855f7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.8rem;
    max-width: 580px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

@keyframes mockupFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-mockup {
    position: relative;
    width: 340px;
    height: 700px;
    z-index: 10;
    perspective: 1500px;
    animation: mockupFloat 6s ease-in-out infinite;
}

.mockup-inner {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 48px;
    border: 12px solid #1e293b;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 
                0 0 80px rgba(99, 102, 241, 0.25),
                inset 0 0 2px rgba(255, 255, 255, 0.2);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.6s var(--spring);
}

.hero-mockup:hover .mockup-inner {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.hero-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Features Section --- */
.features {
    padding: 120px 8%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3.5rem 2.5rem;
    transition: all 0.5s var(--spring);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, -100px) var(--mouse-y, -100px), rgba(99, 102, 241, 0.15), transparent 40%);
    z-index: 0;
    transition: background 0.2s ease;
    pointer-events: none;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 
                0 0 40px rgba(99, 102, 241, 0.2);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: block;
    background: var(--grad-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- Stats Section --- */
.stats-banner {
    padding: 60px 8%;
    background: rgba(99, 102, 241, 0.05);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    font-weight: 900;
    background: var(--grad-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* --- Album Showcase --- */
.album-showcase {
    padding: 120px 8%;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.album-card {
    height: 380px;
    border-radius: 40px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.6s var(--spring);
    z-index: 1;
}

.album-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, -100px) var(--mouse-y, -100px), rgba(255, 255, 255, 0.15), transparent 40%);
    z-index: 0;
    transition: background 0.2s ease;
    pointer-events: none;
}

.album-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.album-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.album-photos { background: linear-gradient(135deg, #4f46e5 0%, #a855f7 100%); }
.album-videos { background: linear-gradient(135deg, #0ea5e9 0%, #4f46e5 100%); }
.album-docs { background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%); }

.album-icon {
    font-size: 5rem;
    position: absolute;
    top: 30px;
    right: 30px;
    opacity: 0.8;
    transition: all 0.6s var(--spring);
    z-index: 1;
}

.album-card:hover .album-icon {
    transform: scale(1.4) rotate(-15deg);
    opacity: 1;
}

.album-content {
    position: relative;
    z-index: 2;
}

.album-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.album-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* --- Security Specs --- */
.security {
    padding: 120px 8%;
    background: var(--bg-surface);
}

.specs-grid {
    display: flex;
    gap: 5rem;
    align-items: center;
    flex-wrap: wrap;
}

.specs-content {
    flex: 1;
    min-width: 350px;
}

.specs-card {
    flex: 1;
    min-width: 400px;
    background: var(--bg-deep);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

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

.specs-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.15rem;
    font-weight: 500;
}

.specs-list i {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--spring);
}

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

/* --- Footer --- */
footer {
    padding: 100px 8% 50px;
    background: var(--bg-deep);
    border-top: 1px solid var(--glass-border);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 80px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 380px;
    margin-top: 1.5rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
    font-size: 1rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 160px;
    }
    .hero h1 { font-size: 3.5rem; }
    .hero-actions { justify-content: center; }
    .hero-mockup { margin-top: 5rem; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .section-header h2 { font-size: 2.2rem; }
}

