/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Dark Premium */
    --bg-primary: #020617;
    --bg-secondary: #0f172a;
    --accent-teal: #06b6d4;
    --accent-light: #67e8f9;
    --accent-blue: #3b82f6;

    /* Typography colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;

    /* Liquid Glass tokens */
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow: rgba(6, 182, 212, 0.15);

    --blur-intensity: blur(24px);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* -----------------------------
   Dynamic Liquid Background 
------------------------------*/
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--accent-teal), #10b981);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-blue), #8b5cf6);
    bottom: -150px;
    right: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #0ea5e9, var(--accent-teal));
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation-delay: -10s;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 40px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* -----------------------------
   Components (Glass) 
------------------------------*/
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-intensity);
    -webkit-backdrop-filter: var(--blur-intensity);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.text-gradient {
    background: linear-gradient(135deg, #fff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* -----------------------------
   Navigation 
------------------------------*/
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    border-radius: 100px;
    padding: 12px 24px;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.btn-glass {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* -----------------------------
   Hero Section 
------------------------------*/
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 40px;
    max-width: 1300px;
    margin: 0 auto;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(103, 232, 249, 0.3);
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-teal);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-teal);
    animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    color: white;
    padding: 18px 36px;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 35px -5px rgba(6, 182, 212, 0.5);
}

.btn-primary i {
    font-size: 1.3rem;
}

.subtext {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Glass Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.phone-mockup {
    width: 340px;
    height: 700px;
    border-radius: 50px;
    padding: 12px;
    position: relative;
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.phone-inner {
    background: #000;
    width: 100%;
    height: 100%;
    border-radius: 38px;
    overflow: hidden;
    position: relative;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 14px 24px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 6px;
}

.app-ui {
    padding: 24px;
}

.app-ui h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    margin-top: 10px;
}

.tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.tabs span {
    font-size: 0.85rem;
    color: #64748b;
    background: #1e293b;
    padding: 6px 16px;
    border-radius: 100px;
}

.tabs span.active {
    background: var(--accent-blue);
    color: white;
}

.msg-card {
    background: #1e293b;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spam-msg {
    border-left: 3px solid #ef4444;
}

.msg-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.msg-head h4 {
    font-size: 0.95rem;
    color: #ef4444;
}

.text-red {
    color: #ef4444;
}

.msg-card p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* -----------------------------
   Features Bento Grid 
------------------------------*/
.features-section {
    padding: 100px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(280px, auto);
}

.bento-card {
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.large-card {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(6, 182, 212, 0.1) 100%);
}

.wide-card {
    grid-column: span 3;
}

.bento-icon {
    width: 64px;
    height: 64px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-light);
    margin-bottom: 32px;
}

.bento-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.bento-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* -----------------------------
   Footer 
------------------------------*/
.footer {
    padding: 40px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-wrapper {
    border-radius: 24px;
    padding: 32px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    height: 24px;
    width: auto;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* -----------------------------
   Responsive 
------------------------------*/
@media (max-width: 1024px) {
    h1 {
        font-size: 4rem;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .large-card,
    .wide-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 12px 16px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .cta-wrapper {
        flex-direction: column;
    }

    .phone-mockup {
        transform: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .large-card,
    .wide-card {
        grid-column: span 1;
    }

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}/* Footer Grid Layout Updates */

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 150px;
}

.footer-links h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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