/* ===================================
   honeyDue Landing Page Styles
   VIBRANT EDITION
   =================================== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --color-primary: #0079FF;
    --color-primary-dark: #0055CC;
    --color-primary-light: #4DA3FF;

    --color-secondary: #5AC7F9;
    --color-secondary-dark: #3AB8F5;

    --color-accent: #FF9400;
    --color-accent-light: #FFB347;
    --color-accent-dark: #E68600;

    --color-purple: #8B5CF6;
    --color-pink: #EC4899;
    --color-teal: #14B8A6;
    --color-green: #22C55E;

    /* Text */
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #4B5563;
    --color-text-muted: #9CA3AF;
    --color-text-light: rgba(255, 255, 255, 0.9);

    /* Backgrounds */
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F8FAFC;
    --color-bg-dark: #0F172A;
    --color-bg-darker: #020617;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0079FF 0%, #5AC7F9 50%, #14B8A6 100%);
    --gradient-cta: linear-gradient(135deg, #0079FF 0%, #8B5CF6 100%);
    --gradient-accent: linear-gradient(135deg, #FF9400 0%, #EC4899 100%);
    --gradient-dark: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(0, 121, 255, 0.3) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(90, 199, 249, 0.3) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(139, 92, 246, 0.2) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, rgba(20, 184, 166, 0.2) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(255, 148, 0, 0.2) 0px, transparent 50%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --text-hero: clamp(2.5rem, 5vw, 4rem);
    --text-h1: clamp(2rem, 4vw, 3rem);
    --text-h2: clamp(1.75rem, 3vw, 2.25rem);
    --text-h3: 1.25rem;
    --text-body: 1.125rem;
    --text-small: 0.875rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Other */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 60px rgba(0, 121, 255, 0.3);
    --shadow-glow-accent: 0 0 60px rgba(255, 148, 0, 0.3);

    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: var(--text-small);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-sm {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-small);
}

.btn-lg {
    padding: var(--space-sm) var(--space-lg);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-hero);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 121, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 121, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-white {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-bg-primary), transparent);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: linear-gradient(135deg, rgba(255, 148, 0, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border: 1px solid rgba(255, 148, 0, 0.3);
    color: var(--color-accent-light);
    font-size: var(--text-small);
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-md);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: var(--text-hero);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: #fff;
}

.hero-title-highlight {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-body);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.hero-trust {
    font-size: var(--text-small);
    color: rgba(255, 255, 255, 0.5);
}

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

/* Glowing orbs behind phone */
.hero-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-visual::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    top: 30%;
    right: 10%;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    z-index: 1;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}

.placeholder-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(0, 121, 255, 0.1) 0%,
        rgba(139, 92, 246, 0.1) 50%,
        rgba(20, 184, 166, 0.1) 100%);
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--text-small);
    font-weight: 500;
    gap: var(--space-sm);
}

.placeholder-content::before {
    content: '';
    width: 60px;
    height: 60px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
}

/* ===================================
   Feature Highlights
   =================================== */
.highlights {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-primary);
    position: relative;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.highlight-card {
    text-align: center;
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-card:nth-child(1) .highlight-icon {
    background: linear-gradient(135deg, rgba(0, 121, 255, 0.15) 0%, rgba(90, 199, 249, 0.15) 100%);
    color: var(--color-primary);
}

.highlight-card:nth-child(2) .highlight-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    color: var(--color-purple);
}

.highlight-card:nth-child(3) .highlight-icon {
    background: linear-gradient(135deg, rgba(255, 148, 0, 0.15) 0%, rgba(34, 197, 94, 0.15) 100%);
    color: var(--color-accent);
}

.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.highlight-icon svg {
    width: 32px;
    height: 32px;
}

.highlight-title {
    font-size: var(--text-h3);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

.highlight-desc {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-secondary);
    position: relative;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

.feature:last-child {
    margin-bottom: 0;
}

.feature-right .feature-content {
    order: 1;
}

.feature-right .feature-visual {
    order: 0;
}

.feature-content {
    max-width: 480px;
}

.feature-label {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--gradient-hero);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.feature-title {
    font-size: var(--text-h2);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.2;
    color: var(--color-text-primary);
}

.feature-desc {
    font-size: var(--text-body);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.feature-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Colored backgrounds behind feature phones */
.feature:nth-child(1) .feature-visual::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--color-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.feature:nth-child(2) .feature-visual::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--color-purple);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.feature:nth-child(3) .feature-visual::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--color-teal);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.feature:nth-child(4) .feature-visual::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.feature-visual .phone-frame {
    width: 260px;
    height: 540px;
    border-radius: 40px;
}

.feature-visual .phone-frame::before {
    width: 90px;
    height: 24px;
}

.feature-visual .phone-screen {
    border-radius: 32px;
}

/* ===================================
   Platforms Section
   =================================== */
.platforms {
    padding: var(--space-4xl) 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.platforms::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}

.platforms-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.section-title {
    font-size: var(--text-h1);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: #fff;
}

.section-subtitle {
    font-size: var(--text-body);
    color: rgba(255, 255, 255, 0.7);
}

.platforms-visual {
    position: relative;
    z-index: 1;
}

.device-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-3xl);
}

.device-showcase .phone-mockup {
    text-align: center;
}

.device-showcase .phone-frame {
    width: 240px;
    height: 500px;
    border-radius: 36px;
}

.device-showcase .phone-frame::before {
    width: 80px;
    height: 22px;
}

.device-showcase .phone-screen {
    border-radius: 30px;
}

.device-label {
    display: inline-block;
    margin-top: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    font-size: var(--text-small);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: var(--space-4xl) 0;
    background: var(--gradient-cta);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--text-h1);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-sm);
}

.cta-subtitle {
    font-size: var(--text-body);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.cta-trust {
    font-size: var(--text-small);
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: var(--space-3xl) 0 var(--space-lg);
    background: var(--color-bg-darker);
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    display: block;
}

.footer-tagline {
    font-size: var(--text-small);
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer-column h4 {
    font-size: var(--text-small);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: #fff;
}

.footer-column a {
    display: block;
    font-size: var(--text-small);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-xs);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright, .made-by {
    font-size: var(--text-small);
    color: rgba(255, 255, 255, 0.4);
}

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

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: var(--space-lg);
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .feature {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .feature-content {
        max-width: 100%;
    }

    .feature-right .feature-content,
    .feature-right .feature-visual {
        order: unset;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-xs);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-bg-dark);
        padding: var(--space-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        gap: var(--space-sm);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: calc(70px + var(--space-2xl)) 0 var(--space-2xl);
    }

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

    .hero-cta .btn {
        width: 100%;
    }

    .device-showcase {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 220px;
        height: 460px;
        border-radius: 36px;
    }

    .phone-frame::before {
        width: 70px;
        height: 20px;
    }

    .phone-screen {
        border-radius: 28px;
    }

    .device-showcase .phone-frame {
        width: 200px;
        height: 420px;
    }
}
