/* ===========================
   Design Tokens
   =========================== */
:root {
    /* Colors */
    --color-primary: #00b4d8;
    --color-primary-dark: #0096c7;
    --color-secondary: #48cae4;
    --color-accent: #06ffa5;
    --color-gradient-start: #00b4d8;
    --color-gradient-end: #06ffa5;

    /* Neutrals */
    --color-bg: #0a0e27;
    --color-bg-light: #151933;
    --color-bg-card: #1e2344;
    --color-text: #ffffff;
    --color-text-muted: #a0aec0;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(6, 255, 165, 0.3);
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===========================
   Typography
   =========================== */
.gradient-text {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--spacing-3xl) 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15), transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero-decoration {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 255, 165, 0.1), transparent 70%);
    border-radius: 50%;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-icon {
    width: 24px;
    height: 24px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: var(--color-bg);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--color-bg-card);
    color: var(--color-text);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ===========================
   Phone Mockup
   =========================== */
.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.app-showcase {
    position: relative;
    /* Floating animation */
    animation: floatShowcase 6s infinite ease-in-out;
    /* Blend light screenshot with dark theme using brand colors */
    border-radius: 30px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.4), rgba(6, 255, 165, 0.4));
    box-shadow:
        0 0 60px rgba(0, 180, 216, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

@keyframes floatShowcase {

    0%,
    100% {
        transform: translateY(0) rotateY(-3deg);
    }

    50% {
        transform: translateY(-15px) rotateY(3deg);
    }
}

.floating-screenshot {
    display: block;
    width: 320px;
    height: auto;
    border-radius: 20px;
    /* Smooth transition for hover effects */
    transition: all 0.4s ease;
    /* Dark border to separate image content */
    border: 4px solid #0a0e27;
}

/* Hover effect to make it pop */
.app-showcase:hover .floating-screenshot {
    transform: scale(1.02);
    border-color: #151933;
}

.app-showcase:hover {
    box-shadow:
        0 0 80px rgba(6, 255, 165, 0.5),
        0 0 40px rgba(0, 180, 216, 0.3);
}

/* ===========================
   Privacy Hero Section
   =========================== */
.privacy-hero {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 255, 165, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.privacy-content {
    position: relative;
    z-index: 1;
}

.privacy-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.privacy-item {
    background: var(--color-bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(6, 255, 165, 0.1);
}

.privacy-item:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 8px 32px rgba(6, 255, 165, 0.15);
}

.privacy-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 4px 12px rgba(6, 255, 165, 0.3));
}

.privacy-item h3 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.privacy-item p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-light);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-3xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--color-bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 180, 216, 0.2);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-bg);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
}

/* ===========================
   Footer
   =========================== */
.footer {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-tagline {
    color: var(--color-text-muted);
    margin-top: var(--spacing-xs);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-indie {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    opacity: 0.8;
    margin-top: var(--spacing-xs);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}