/* ==========================================================================
   CSS ARCHITECTURE: SUSOM - APPLE MINIMALISM + ZOHO/GOOGLE COLORS
   ========================================================================== */

:root {
    /* Base Palette */
    --c-white: #FFFFFF;
    --c-apple-gray: #F5F5F7; 
    --c-text-main: #1D1D1F; 
    --c-text-muted: #86868B;
    
    /* Google/Zoho Vibrant Corporate Colors */
    --c-blue: #4285F4;
    --c-blue-light: rgba(66, 133, 244, 0.1);
    
    --c-red: #EA4335;
    --c-red-light: rgba(234, 67, 53, 0.1);
    
    --c-yellow: #FBBC04;
    --c-yellow-light: rgba(251, 188, 4, 0.15);
    
    --c-green: #34A853;
    --c-green-light: rgba(52, 168, 83, 0.1);
    
    --c-purple: #A142F4;
    --c-purple-light: rgba(161, 66, 244, 0.1);
    
    --c-cyan: #24C1E0;
    --c-cyan-light: rgba(36, 193, 224, 0.1);

    --c-border: rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.06);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Architecture */
    --radius-pill: 999px;
    --radius-card: 28px;
    --radius-icon: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 1. RESET & BASE SETUP */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background-color: var(--c-white); }
body {
    font-family: var(--font-sans);
    color: var(--c-text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 8rem 0; }
.mt-1 { margin-top: 1.5rem; }
.mt-large { margin-top: 4rem; }
.mb-large { margin-bottom: 4rem; }
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-10 { z-index: 10; }

/* Utilities */
.bg-apple-gray { background-color: var(--c-apple-gray); }
.bg-white { background-color: var(--c-white); }

.bg-blue { background-color: var(--c-blue); }
.bg-red { background-color: var(--c-red); }
.bg-yellow { background-color: var(--c-yellow); }

.bg-blue-light { background-color: var(--c-blue-light); }
.bg-red-light { background-color: var(--c-red-light); }
.bg-yellow-light { background-color: var(--c-yellow-light); }
.bg-green-light { background-color: var(--c-green-light); }
.bg-purple-light { background-color: var(--c-purple-light); }
.bg-cyan-light { background-color: var(--c-cyan-light); }

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    color: var(--c-text-main);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
}

/* Colorful Gradient Text */
.text-gradient-google {
    background: linear-gradient(90deg, var(--c-blue) 0%, var(--c-red) 33%, var(--c-yellow) 66%, var(--c-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.25rem; color: var(--c-text-muted); font-weight: 400; }

.massive-statement { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.04em; }

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--c-text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    font-weight: 400;
    line-height: 1.6;
}

.editorial-text { font-size: 1.25rem; color: var(--c-text-muted); font-weight: 400; line-height: 1.6; }

/* 3. BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary { background-color: var(--c-blue); color: var(--c-white); }
.btn-primary:hover { background-color: #2b6ce0; transform: scale(1.02); }

.btn-secondary { background-color: var(--c-apple-gray); color: var(--c-text-main); }
.btn-secondary:hover { background-color: #E5E5EA; }

.btn-small { padding: 0.6rem 1.25rem; font-size: 0.9rem; }
.btn-large { padding: 1rem 2rem; font-size: 1.05rem; }

.arrow { font-family: monospace; font-size: 1.1em; transition: transform var(--transition-fast); }
.btn:hover .arrow { transform: translateX(4px); }

/* 4. NAVBAR (Frosted Glass) */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled { padding: 1rem 0; border-bottom: 1px solid var(--c-border); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.brand-logo { height: 28px; width: auto; display: block; }
.nav-list { display: flex; gap: 2.5rem; }
.nav-link { font-size: 0.9rem; font-weight: 400; color: var(--c-text-main); }
.nav-link:hover { color: var(--c-blue); }
.mobile-menu-toggle { display: none; }

/* 5. HERO SECTION */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 6rem; background-color: var(--c-white); }
.hero-content { position: relative; z-index: 10; max-width: 900px; margin: 0 auto; }
.hero-cta-group { display: flex; gap: 1rem; justify-content: center; }

/* Ambient Color Glows */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}
.glow-blue { top: -10%; left: -10%; background: var(--c-blue); }
.glow-red { bottom: 10%; right: -10%; background: var(--c-red); }

/* 6. APPLE CARDS (Smooth, Borderless, Rounded) */
.apple-card {
    background-color: var(--c-apple-gray);
    border-radius: var(--radius-card);
    padding: 3rem;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.shadow-card { background-color: var(--c-white); box-shadow: var(--shadow-soft); }

.hover-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }

.apple-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* Icon Box for SVGs */
.cap-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-icon);
    margin-bottom: 1.5rem;
}

.card-heading { font-size: 1.75rem; margin-bottom: 1rem; }
.card-text { font-size: 1.125rem; line-height: 1.6; color: var(--c-text-muted); }

/* 7. CAPABILITIES GRID */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.cap-card { background-color: var(--c-white); padding: 2.5rem; border: 1px solid var(--c-border); }
.cap-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.cap-desc { color: var(--c-text-muted); font-size: 1rem; line-height: 1.5; }

/* 8. SOLUTIONS LIST */
.two-col-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.align-center { align-items: center; }

.apple-list { display: flex; flex-direction: column; gap: 2.5rem; }
.list-item { position: relative; padding-left: 2rem; }
.list-dot { position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; }
.list-item h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.list-item p { color: var(--c-text-muted); font-size: 1.125rem; }

/* 9. STATS */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat-number { font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -0.05em; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 1.125rem; font-weight: 500; color: var(--c-text-muted); }

/* 10. CTA SECTION */
.cta-section { border-radius: var(--radius-card); margin: 0 2rem; }
.cta-title { font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 1rem; }
.cta-subtitle { font-size: 1.25rem; color: var(--c-text-muted); margin-bottom: 2.5rem; }

/* 11. CLEAN FOOTER */
.footer { padding: 5rem 0 3rem; background-color: var(--c-white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo { height: 32px; width: auto; display: block; margin-bottom: 1rem; }
.footer-desc { color: var(--c-text-muted); font-size: 0.95rem; max-width: 300px; line-height: 1.6; }
.footer-links h5 { font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; color: var(--c-text-main); }
.footer-links ul li { margin-bottom: 0.75rem; }
.footer-links ul li a { color: var(--c-text-muted); font-size: 0.9rem; transition: color var(--transition-fast); }
.footer-links ul li a:hover { color: var(--c-blue); }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--c-border); color: var(--c-text-muted); font-size: 0.85rem; }

/* 12. ANIMATIONS */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity var(--transition-smooth), transform var(--transition-smooth); }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }

/* 13. MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
    .apple-grid, .two-col-layout { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section-padding { padding: 5rem 0; }
    .cta-section { margin: 0; border-radius: 0; }
    
    .nav-list, .nav-actions .btn { display: none; }
    .mobile-menu-toggle {
        display: flex; flex-direction: column; gap: 5px;
        background: transparent; border: none; cursor: pointer;
    }
    .mobile-menu-toggle .bar { width: 22px; height: 2px; background: var(--c-text-main); transition: 0.3s; }
    
    .nav-menu {
        position: fixed; inset: 0; background: rgba(255,255,255,0.95);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        display: flex; align-items: center; justify-content: center;
        opacity: 0; visibility: hidden; transition: 0.4s; z-index: -1;
    }
    .nav-menu.active { opacity: 1; visibility: visible; }
    .nav-menu.active .nav-list { display: flex; flex-direction: column; text-align: center; gap: 2rem; }
    .nav-menu.active .nav-link { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
    
    .mobile-menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-menu-toggle.active .bar:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

    .hero-cta-group { flex-direction: column; }
    .apple-card { padding: 2rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}