/* ==========================================================================
   FOGGO APPS - Organic Flow Design System
   Nature-inspired, warm, grounded aesthetic
   ========================================================================== */

:root {
    /* Core Nature Palette */
    --primary: #2d5a47;           /* Deep forest green */
    --primary-light: #3d7a5f;     /* Lighter forest */
    --primary-dark: #1e3d30;      /* Dark pine */

    --accent: #e8a54b;            /* Warm golden sun */
    --accent-warm: #d4825a;       /* Terracotta */
    --accent-light: #f5d49a;      /* Soft wheat */

    /* Backgrounds */
    --bg-primary: #f9f7f3;        /* Warm cream */
    --bg-secondary: #f2efe8;      /* Soft linen */
    --bg-tertiary: #eae5db;       /* Natural paper */
    --bg-card: #ffffff;

    /* Text */
    --text-primary: #1a2e25;      /* Deep forest text */
    --text-secondary: #4a5d54;    /* Muted green-gray */
    --text-muted: #7a8a82;        /* Light sage */
    --text-inverse: #f9f7f3;

    /* Borders & Shadows */
    --border-light: #e0ddd5;
    --border-medium: #c9c4b8;
    --shadow-soft: 0 2px 8px rgba(45, 90, 71, 0.06);
    --shadow-medium: 0 4px 20px rgba(45, 90, 71, 0.1);
    --shadow-lifted: 0 12px 40px rgba(45, 90, 71, 0.15);

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

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

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
}

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

/* ==========================================================================
   ANIMATED BACKGROUND ELEMENTS
   ========================================================================== */

.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

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

.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

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

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 15s ease-in-out infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

/* ==========================================================================
   HEADER
   ========================================================================== */

header {
    position: sticky;
    top: 0;
    background: rgba(249, 247, 243, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    padding: var(--space-sm) 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: inherit;
    transition: transform var(--duration-normal) var(--ease-out);
}

.logo-area:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 44px;
    height: 44px;
    color: var(--primary);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.35rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.logo-text .subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--duration-fast) var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: width var(--duration-normal) var(--ease-out);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--text-inverse) !important;
    padding: var(--space-xs) var(--space-md) !important;
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    padding: var(--space-2xl) 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(45, 90, 71, 0.1);
    border-radius: var(--radius-full);
}

.hero h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
}

.hero-accent {
    color: var(--primary);
    font-style: italic;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

.btn svg {
    transition: transform var(--duration-normal) var(--ease-out);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-inverse);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lifted);
}

.btn-primary:hover svg {
    transform: translateY(3px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-3px);
}

/* Hero Visual - Floating Apps */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
}

.floating-apps {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-app {
    position: absolute;
    animation: floatApp 6s ease-in-out infinite;
}

.floating-app .app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(45, 90, 71, 0.2),
        0 16px 48px rgba(45, 90, 71, 0.1);
}

/* Position each app icon */
.floating-app.app-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    animation-delay: 0s;
}

.floating-app.app-1 .app-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
}

.floating-app.app-2 {
    top: 10%;
    left: 20%;
    animation-delay: -1s;
    z-index: 4;
}

.floating-app.app-3 {
    top: 15%;
    right: 15%;
    animation-delay: -2s;
    z-index: 3;
}

.floating-app.app-4 {
    bottom: 20%;
    left: 10%;
    animation-delay: -3s;
    z-index: 2;
}

.floating-app.app-5 {
    bottom: 15%;
    right: 20%;
    animation-delay: -4s;
    z-index: 2;
}

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

.floating-app.app-1 {
    animation-name: floatAppCenter;
}

@keyframes floatAppCenter {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

/* Decorative rings */
.hero-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.1;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: ringPulse 4s ease-in-out infinite;
}

.ring-2 {
    width: 300px;
    height: 300px;
    animation: ringPulse 4s ease-in-out infinite;
    animation-delay: -1.3s;
}

.ring-3 {
    width: 400px;
    height: 400px;
    animation: ringPulse 4s ease-in-out infinite;
    animation-delay: -2.6s;
}

@keyframes ringPulse {
    0%, 100% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

/* ==========================================================================
   APP SHOWCASE SECTION
   ========================================================================== */

#app-showcase {
    padding: var(--space-2xl) 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

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

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--space-lg);
}

/* App Cards */
.app {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: all var(--duration-slow) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.app::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.app:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lifted);
    border-color: var(--primary);
}

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

.app-hidden {
    opacity: 0;
    transform: translateY(40px);
}

.app-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all var(--duration-slow) var(--ease-out);
}

.app-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.app-title-area {
    flex: 1;
}

.app h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
}

.app-category {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

.app-category strong {
    font-weight: 600;
}

.app > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.app p strong {
    font-weight: 600;
    color: var(--text-primary);
}

.app ul {
    list-style: none;
    margin: var(--space-sm) 0;
    padding: 0;
}

.app ul li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.app ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.app-footer {
    margin-top: auto;
    padding-top: var(--space-md);
}

.app-store-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    width: 100%;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-inverse);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    background: var(--primary);
    border-radius: var(--radius-md);
    transition: all var(--duration-normal) var(--ease-out);
}

.app-store-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   TOOLS SECTION
   ========================================================================== */

.tools-section {
    padding: var(--space-2xl) 0;
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

/* Tool Cards */
.tool-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: all var(--duration-slow) var(--ease-out);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lifted);
    border-color: var(--accent);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card-hidden {
    opacity: 0;
    transform: translateY(40px);
}

.tool-card-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all var(--duration-slow) var(--ease-out);
}

.tool-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 12px rgba(232, 165, 75, 0.3);
}

.tool-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.tool-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-warm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    background: rgba(212, 130, 90, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.tool-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.tool-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-light);
}

.tool-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--duration-normal) var(--ease-out);
}

.tool-card:hover .tool-cta {
    gap: var(--space-sm);
}

.tool-cta svg {
    transition: transform var(--duration-normal) var(--ease-out);
}

.tool-card:hover .tool-cta svg {
    transform: translateX(4px);
}

/* ==========================================================================
   SERVICES TEASER
   ========================================================================== */

.services-teaser {
    background: var(--primary);
    color: var(--text-inverse);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.services-teaser::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.3;
}

.services-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.services-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.services-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.services-teaser .btn-primary {
    background: var(--accent);
    color: var(--text-primary);
}

.services-teaser .btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

.services-teaser .btn-primary:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background: var(--bg-secondary);
    padding: var(--space-xl) 0 var(--space-lg);
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

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

.footer-logo {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.footer-logo svg {
    width: 100%;
    height: 100%;
}

.footer-brand p {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

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

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FLOATING COFFEE BUTTON & MODAL
   ========================================================================== */

.floating-coffee-btn {
    position: fixed;
    bottom: var(--space-lg);
    left: var(--space-lg);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #ffdd00;
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

.floating-coffee-btn:hover {
    background: #ffea60;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 221, 0, 0.4);
}

.floating-coffee-btn:active {
    transform: translateY(-2px) scale(1);
}

.floating-coffee-btn svg {
    width: 24px;
    height: 24px;
}

/* Coffee Modal */
.coffee-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 61, 48, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.coffee-modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 380px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lifted);
    padding: var(--space-xl);
    text-align: center;
    position: relative;
    animation: modalSlideIn var(--duration-slow) var(--ease-out);
}

.coffee-close-btn {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--duration-fast) var(--ease-out);
}

.coffee-close-btn:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: rotate(90deg);
}

.coffee-icon-large {
    width: 64px;
    height: 64px;
    background: #ffdd00;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.coffee-icon-large svg {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

.coffee-modal-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.coffee-modal-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.coffee-link-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: #ffdd00;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
}

.coffee-link-btn:hover {
    background: #ffea60;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 221, 0, 0.4);
}

.coffee-link-btn svg {
    transition: transform var(--duration-normal) var(--ease-out);
}

.coffee-link-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .floating-coffee-btn {
        bottom: var(--space-md);
        left: var(--space-md);
        width: 54px;
        height: 54px;
    }
}

/* ==========================================================================
   FLOATING CONTACT BUTTON
   ========================================================================== */

.floating-contact-btn {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 99;
}

.floating-contact-btn button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-inverse);
    border: none;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.floating-contact-btn button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-lifted);
    background: var(--primary-dark);
}

.floating-contact-btn button:active {
    transform: translateY(-2px) scale(1);
}

/* ==========================================================================
   MODAL STYLES
   ========================================================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 61, 48, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 800px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lifted);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn var(--duration-slow) var(--ease-out);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-btn {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--duration-fast) var(--ease-out);
}

.close-btn:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: rotate(90deg);
}

.modal-header {
    padding: var(--space-xl) var(--space-xl) var(--space-md);
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.modal-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding: 0 var(--space-xl);
}

.modal-column {
    min-width: 0;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label,
.form-section label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.form-group label .optional {
    font-weight: 400;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--duration-fast) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(45, 90, 71, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.form-section {
    margin-bottom: var(--space-lg);
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.option-btn {
    background: var(--bg-secondary);
    border: 2px solid transparent;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.option-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.option-btn.selected {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
}

.form-error {
    margin: var(--space-md) var(--space-xl);
    padding: var(--space-sm) var(--space-md);
    background: #fff0f0;
    border: 1px solid #e5a5a5;
    border-radius: var(--radius-md);
    color: #c44;
    font-size: 0.9rem;
    display: none;
}

.form-error.visible {
    display: block;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.modal-footer {
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    justify-content: center;
    background: var(--primary);
    color: var(--text-inverse);
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

.submit-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.submit-btn:hover svg {
    transform: translate(4px, -4px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn svg {
    transition: transform var(--duration-normal) var(--ease-out);
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.completed {
    background: #4a9;
}

.spinner {
    animation: spin 1s linear infinite;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

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

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
    }

    .hero-graphic {
        width: 320px;
        height: 320px;
    }

    .floating-app .app-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .floating-app.app-1 .app-icon {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }

    .ring-1 { width: 160px; height: 160px; }
    .ring-2 { width: 240px; height: 240px; }
    .ring-3 { width: 320px; height: 320px; }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .main-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border-light);
        padding: var(--space-md);
        box-shadow: var(--shadow-medium);
    }

    .main-nav.active ul {
        flex-direction: column;
        width: 100%;
        gap: var(--space-sm);
    }

    .main-nav.active .nav-link {
        display: block;
        padding: var(--space-sm);
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: var(--space-xl) 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

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

    .modal-body {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .modal-content {
        border-radius: var(--radius-lg);
    }

    .modal-header {
        padding: var(--space-lg) var(--space-lg) var(--space-sm);
    }

    .modal-body {
        padding: 0 var(--space-lg);
    }

    .modal-footer {
        padding: var(--space-md) var(--space-lg) var(--space-lg);
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .floating-contact-btn {
        bottom: var(--space-md);
        right: var(--space-md);
    }

    .floating-contact-btn button {
        width: 54px;
        height: 54px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .app {
        padding: var(--space-md);
    }

    .app-store-link {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .services-content h2 {
        font-size: 1.75rem;
    }

    .blob-1 { width: 400px; height: 400px; }
    .blob-2 { width: 300px; height: 300px; }
    .blob-3 { width: 250px; height: 250px; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
