/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Munich Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --border: rgba(15, 23, 42, 0.08); /* Dark subtle border */
    --border-highlight: rgba(37, 99, 235, 0.2); /* Isar Blue border */
    --text-primary: #0f172a; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    --text-muted: #94a3b8; /* Slate 400 */
    
    /* Branding Colors */
    --accent-1: #2563eb; /* Munich Tech Blue */
    --accent-2: #1e40af; /* Deep Isar Blue */
    --accent-3: #10b981; /* Success Emerald */
    
    --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.05));
    --glow-purple: rgba(37, 99, 235, 0.15); /* Re-mapped to Blue */
    --glow-blue: rgba(16, 185, 129, 0.1); /* Emerald Glow */
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--glow-purple);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-purple);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-highlight);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-1);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-highlight);
    padding: 13px 27px;
}
.btn-outline:hover {
    background: var(--gradient-subtle);
    border-color: var(--accent-1);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    gap: 6px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.logo-gigi { color: var(--text-primary); }
.logo-future {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.2s;
    font-weight: 500;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
    background: var(--gradient) !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-weight: 600 !important;
}
.nav-cta:hover { box-shadow: 0 4px 20px var(--glow-purple); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: float 8s ease-in-out infinite;
}
.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--glow-purple);
    top: 10%;
    right: 10%;
    opacity: 0.4;
}
.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--glow-blue);
    bottom: 20%;
    left: 5%;
    opacity: 0.3;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-1);
    margin-bottom: 24px;
    font-family: var(--font-mono);
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}
.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-1);
}
.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-highlight);
}

/* ===== SECTION DEFAULTS ===== */
section { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-1);
    display: block;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* ===== SERVICES ===== */
.services { background: var(--bg-secondary); }

/* --- Bento Grid (NOW SaaS Style) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(37, 99, 235, 0.15);
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.01));
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.bento-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

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

.bento-features {
    list-style: none;
    margin-top: auto;
}

.bento-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.bento-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-1);
    font-weight: 600;
}

/* Span Classes for Grid */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-large h3 {
    font-size: 2.2rem;
    letter-spacing: -0.04em;
}

.bento-large p {
    font-size: 1.2rem;
}

.bento-wide {
    grid-column: span 2;
}

.bento-wide .bento-content-row {
    display: flex;
    gap: 40px;
    align-items: center;
}

.bento-wide .bento-content-row > div {
    flex: 1;
}

.bento-wide .bento-features {
    flex: 1;
    margin-top: 0;
}

/* Grid Responsive adjustments */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large, .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-wide .bento-content-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05); /* Soft premium shadow for light mode */
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: opacity 0.4s;
}
.service-card:hover {
    border-color: var(--accent-2);
    transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-card.featured {
    border-color: var(--accent-2);
    background: linear-gradient(180deg, rgba(99,102,241,0.08) 0%, var(--bg-card) 100%);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.service-features {
    list-style: none;
    position: relative;
    z-index: 1;
}
.service-features li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-features li::before {
    content: '→';
    color: var(--accent-1);
    font-weight: 600;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.pricing-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
}

.pricing-featured {
    border-color: var(--accent-1);
    background: linear-gradient(180deg, rgba(168,85,247,0.06) 0%, var(--bg-card) 100%);
    transform: scale(1.03);
    box-shadow: 0 0 60px rgba(168,85,247,0.1);
}
.pricing-featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header { margin-bottom: 28px; }
.pricing-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.starter-badge { background: rgba(34,197,94,0.15); color: #22c55e; }
.growth-badge { background: rgba(168,85,247,0.15); color: var(--accent-1); }
.scale-badge { background: rgba(59,130,246,0.15); color: var(--accent-3); }

.pricing-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price { margin-bottom: 12px; }
.price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}
.price-period {
    color: var(--text-muted);
    font-size: 1rem;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.pricing-features li {
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    display: flex;
    gap: 10px;
}
.check { color: var(--accent-1); font-weight: 700; }

.pricing-footer { text-align: center; }
.pricing-footer .btn { width: 100%; justify-content: center; }
.pricing-commitment {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.quickwins-banner {
    margin-top: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.quickwins-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.quickwins-content h3 { font-size: 1.2rem; margin-bottom: 8px; }
.quickwins-content p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===== ABOUT ===== */
.about { background: var(--bg-secondary); }

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}
.about-content .section-title { text-align: left; }
.about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}
.highlight {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.highlight-icon { font-size: 1.5rem; }
.highlight strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.95rem;
}
.highlight p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.about-card-stack {
    display: flex;
    justify-content: center;
}
.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 360px;
}
.tech-card code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-1);
    display: block;
    margin-bottom: 20px;
}
.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tech-tag {
    background: var(--gradient-subtle);
    border: 1px solid var(--border-highlight);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.tech-tag:hover {
    border-color: var(--accent-1);
    color: var(--text-primary);
}

/* ===== FAQ ===== */
.faq-grid {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.active { border-color: var(--accent-2); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
    text-align: left;
}
.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-1);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== CONTACT CTA ===== */
.contact {
    background: var(--bg-secondary);
}
.contact-card {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}
.contact-glow {
    position: absolute;
    width: 600px;
    height: 400px;
    background: var(--glow-purple);
    filter: blur(150px);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
}
.contact-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    position: relative;
}
.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 36px;
    position: relative;
}
.contact-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 32px;
}
.contact-features {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.6;
}
.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-location {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
}
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .services-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .pricing-featured { transform: none; }
    .pricing-featured:hover { transform: translateY(-4px); }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(9,9,11,0.97);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .hero-stats { gap: 24px; }
    .stat-divider { display: none; }
}

@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 48px 20px; }
    .quickwins-content { flex-direction: column; text-align: center; }
}
