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

:root {
    /* Core Colors */
    --primary: #4A90E2;
    --primary-light: #6EB5FF;
    --primary-gradient: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    --primary-dark: #1B2A4A;
    --secondary-dark: #263E70;
    --accent: #FFE080;
    --accent-red: #FF6B6B;
    
    /* Neutral Colors */
    --bg-light: #F5F9FF;
    --white: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #999999;
    
    /* Layout */
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(74, 144, 226, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Sections --- */
section {
    padding: 100px 0;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: 0.4s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-box img {
    height: 40px;
}

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

.nav-links li a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

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

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

.nav-btn {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.25);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(110, 181, 255, 0.08) 0%, transparent 40%),
        var(--bg-light);
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
}

.btn-main {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-main:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-outline:hover {
    background: rgba(74, 144, 226, 0.05);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}

.f-card-1 { top: 10%; left: -10%; }
.f-card-2 { bottom: 15%; right: -5%; animation-delay: 2s; }

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

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.f-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.03);
    transition: 0.4s;
    text-align: center;
}

.f-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.f-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: #E1F0FF;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-inline: auto;
    color: var(--primary);
}

.f-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* --- App Preview --- */
.preview-box {
    background: var(--primary-dark);
    padding: 80px 0;
    border-radius: var(--radius-lg);
    color: white;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 3rem; }
    .hero-btns { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-content p { margin-inline: auto; }
}