:root {
    --primary: #1a56a0;
    --primary-light: #2979d4;
    --secondary: #0f3460;
    --accent: #a8d4f5;
    --text-dark: #0d1f3c;
    --text-muted: #7a90b0;
    --bg-light: #f8fafd;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 8px 30px rgba(26, 86, 160, 0.08);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(232, 242, 252, 0.5);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
}

.brand-info .brand-name {
    font-weight: 800;
    font-size: 24px;
    color: var(--secondary);
    line-height: 1;
}

.brand-info .brand-sub {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    color: #3d5478;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

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

.btn-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(41, 121, 212, 0.25);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(41, 121, 212, 0.35);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0f3460 0%, #1a56a0 50%, #2979d4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 8px 20px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 500;
}

.hero-tag .dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
}

.hero-title {
    font-size: clamp(45px, 6vw, 75px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 45px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-circle {
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

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

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

.animate-in { animation: fadeInUp 0.8s ease forwards; }
.animate-in-delay-1 { animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0; }
.animate-in-delay-2 { animation: fadeInUp 0.8s ease 0.4s forwards; opacity: 0; }
.animate-in-delay-3 { animation: fadeInUp 0.8s ease 0.6s forwards; opacity: 0; }

.floating-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-item {
    position: absolute;
    font-size: 40px;
    animation: float 3s infinite ease-in-out;
}

.item-1 { top: 10%; left: -10%; animation-delay: 0s; }
.item-2 { bottom: 20%; right: -5%; animation-delay: 1s; }
.item-3 { top: 40%; right: -15%; font-size: 30px; animation-delay: 0.5s; }

/* Enhanced App Mockup */
.app-header-demo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.app-stats-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.stat-box {
    background: rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
}

.stat-box.active {
    background: var(--accent);
    color: var(--primary);
}

.stat-val { display: block; font-weight: 800; font-size: 18px; }
.stat-label { font-size: 10px; opacity: 0.8; text-transform: uppercase; }

.badge-app {
    background: #4ade80;
    color: #064e3b;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 100px;
    text-transform: uppercase;
}

.progress-bar-demo {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 10px;
}

/* --- Services Section --- */
.section {
    padding: 100px 24px;
}

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

.section-tag {
    display: inline-block;
    background: rgba(41, 121, 212, 0.1);
    color: var(--primary);
    padding: 8px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
}

.grid-services {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 45px;
    border-radius: 24px;
    border: 1px solid #eef2f6;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 86, 160, 0.1);
    border-color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-light);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-card p {
    color: var(--text-muted);
    font-size: 16px;
}

/* --- Pricing Section --- */
.pricing-section {
    background: var(--bg-light);
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.price-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid #eef2f6;
    transition: var(--transition);
}

.price-card.featured {
    background: linear-gradient(145deg, var(--secondary), var(--primary));
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(15, 52, 96, 0.2);
    border: none;
}

.price-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
}

.price-amount span {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.7;
}

.price-features {
    list-style: none;
    margin: 30px 0 40px;
    text-align: left;
}

.price-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: rgba(41, 121, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.featured .check-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-price {
    display: block;
    padding: 16px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition);
}

.btn-price.primary {
    background: var(--primary);
    color: var(--white);
}

.btn-price.white {
    background: var(--white);
    color: var(--primary);
}

/* --- Footer --- */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 24px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand .brand-name { color: var(--white); font-size: 28px; }
.footer-desc { margin: 20px 0; color: rgba(255,255,255,0.6); }

.footer-links h4 { margin-bottom: 25px; font-weight: 700; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 968px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-visual { display: none; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .price-card.featured { transform: scale(1); }
}
