/* --- Warm Tech / Ethereal System --- */
:root {
    /* Main Palette */
    --primary: #6366f1;      /* Indigo 500 */
    --primary-dark: #4f46e5; /* Indigo 600 */
    --secondary: #0ea5e9;    /* Sky 500 */
    --accent: #f43f5e;       /* Rose 500 */
    
    /* Neutrals */
    --dark: #0f172a;         /* Slate 900 */
    --text: #334155;         /* Slate 700 */
    --text-light: #64748b;   /* Slate 500 */
    --bg: #f8fafc;           /* Slate 50 */
    --white: #ffffff;
    
    /* Shapes & Effects */
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --shadow-float: 0 20px 40px -10px rgba(99, 102, 241, 0.2);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%); /* Indigo -> Purple -> Pink */
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 70%);
}

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

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

/* --- Ambient Mesh Gradient Background --- */
.bg-mesh {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #f8fafc;
}

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

/* Orb 1: Warm Purple (Top Left) */
.mesh-1 {
    width: 600px; height: 600px;
    background: #e0e7ff; /* Soft Indigo */
    background: linear-gradient(120deg, #e0e7ff 0%, #fae8ff 100%);
    top: -100px; left: -100px;
}

/* Orb 2: Tech Blue (Bottom Right) */
.mesh-2 {
    width: 500px; height: 500px;
    background: #e0f2fe; /* Soft Sky */
    bottom: -50px; right: -50px;
    animation-delay: -5s;
}

/* Orb 3: Accent Rose/Peach (Center-ish) */
.mesh-3 {
    width: 300px; height: 300px;
    background: #ffe4e6; /* Soft Rose */
    top: 40%; left: 30%;
    animation-delay: -10s;
    opacity: 0.4;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
    100% { transform: translate(-20px, 40px) scale(0.95); }
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; position: relative; }

/* --- Navbar (Glass) --- */
.navbar {
    padding: 16px 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.7); /* More transparent */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

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

.brand-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    display: flex; align-items: center; gap: 10px;
    letter-spacing: -0.02em;
}
.brand-logo i { 
    background: var(--gradient-primary); 
    -webkit-background-clip: text; color: transparent; 
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.nav-actions { display: flex; align-items: center; gap: 20px; }

/* --- Buttons --- */
.btn {
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: var(--dark);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}
.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
    background: #1e293b;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}
.btn-secondary:hover { 
    background: #fff; 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.btn-text { background: transparent; color: var(--text-light); padding: 8px 12px; font-weight: 500; }
.btn-text:hover { color: var(--primary); background: rgba(99, 102, 241, 0.05); border-radius: 8px; }

/* --- Hero --- */
.hero {
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex; align-items: center;
    position: relative;
}

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

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.hero-badge i { color: #f43f5e; } /* Pop of pink */

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.text-gradient { 
    background: var(--gradient-primary); 
    -webkit-background-clip: text; color: transparent; 
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.8;
}

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

/* Glass Device Mockup */
.mockup-wrapper {
    position: relative;
    perspective: 2000px;
}
/* Abstract glow behind phone */
.mockup-wrapper::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.device-frame {
    width: 320px; height: 650px;
    background: rgba(255, 255, 255, 0.2); /* Frosted glass border */
    backdrop-filter: blur(20px);
    border-radius: 56px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.1), 
        inset 0 0 0 4px rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    padding: 12px;
    transform: rotateY(-12deg) rotateX(4deg);
    transition: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.device-frame:hover { transform: rotateY(0deg) rotateX(0deg) scale(1.02); }

.device-screen {
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
}

/* Simulated UI inside phone */
.ui-nav { height: 70px; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; }
.ui-nav i { color: var(--text-light); }
.ui-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #e0e7ff, #fae8ff); }

.ui-content { padding: 0 24px; }
.ui-card { 
    background: white; 
    border-radius: 20px; 
    padding: 20px; 
    margin-bottom: 16px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.03); 
    border: 1px solid #f1f5f9;
}
.ui-card-sm { height: 100px; display: flex; align-items: center; justify-content: center; color: #cbd5e1; border: 2px dashed #e2e8f0; }

/* SVG Animation */
.path-anim {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: draw 4s ease-in-out infinite alternate;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --- Features --- */
.features { 
    padding: 100px 0; 
    position: relative;
    background: rgba(255, 255, 255, 0.4); /* Subtle backing */
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.section-header { text-align: center; max-width: 700px; margin: 0 auto 70px; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; color: var(--dark); letter-spacing: -0.02em; }
.section-desc { font-size: 1.15rem; color: var(--text-light); }

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

.feature-item {
    padding: 40px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.6); /* Glass card */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: 0.4s;
}
.feature-item:hover { 
    background: #fff; 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-glass);
}

.feature-icon-box {
    width: 64px; height: 64px;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: 0.3s;
}
/* Colorful backgrounds for icons */
.fi-1 { background: linear-gradient(135deg, #e0e7ff 0%, #eef2ff 100%); color: #6366f1; }
.fi-2 { background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%); color: #0ea5e9; }
.fi-3 { background: linear-gradient(135deg, #ffe4e6 0%, #fff1f2 100%); color: #f43f5e; }

.feature-heading { font-size: 1.35rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.feature-text { color: var(--text-light); font-size: 1rem; line-height: 1.6; }

/* --- Audience --- */
.audience { padding: 120px 0; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }

.audience-card {
    position: relative;
    height: 240px;
    border-radius: 32px;
    background: #fff;
    padding: 32px;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: 0.3s;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}
.audience-card:hover { 
    box-shadow: 0 20px 40px rgba(0,0,0,0.06); 
    border-color: transparent;
    transform: translateY(-4px);
}
/* Gradient borders on hover via pseudo-element */
.audience-card::before {
    content: '';
    position: absolute; inset: 0; padding: 2px; 
    border-radius: 32px; 
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0; transition: 0.3s;
}
.audience-card:hover::before { opacity: 1; }

.audience-tag { font-size: 0.8rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; }
.audience-title { font-size: 1.6rem; font-weight: 700; color: var(--dark); margin-top: 8px; }

/* --- Footer --- */
.footer { padding: 80px 0 40px; background: #fff; border-top: 1px solid #f1f5f9; }
.footer-links a:hover { background: var(--gradient-primary); -webkit-background-clip: text; color: transparent; }

/* Mobile */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .audience-grid { grid-template-columns: 1fr; }
}