/* ==========================================================================
   PADELPIT - LIGHT LUXURY / FRESH SPORTY DESIGN SYSTEM
   ========================================================================== */

:root {
    /* FONTS */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* COLORS: LIGHT MODE */
    --bg-primary: #FFFFFF; /* Pure White */
    --bg-secondary: #F4F4F5; /* Ultra Light Grey */
    --bg-tertiary: #E4E4E7; /* Light Grey for cards */
    
    /* TEXT COLORS */
    --text-primary: #09090B; /* Almost Black */
    --text-secondary: #3F3F46; /* Dark Grey */
    --text-tertiary: #71717A; /* Medium Grey */
    --text-quaternary: #A1A1AA; /* Light Grey (labels) */
    
    /* PRIMARY COLOR: LIME GREEN (#98E22D) */
    --primary-50:  #F4FCE6;
    --primary-100: #E6F8C9;
    --primary-200: #CEF19D;
    --primary-300: #B2EA6C;
    --primary-400: #A8E852;
    --primary-500: #98E22D;
    --primary-600: #88CB28;
    --primary-700: #6A9E1F;
    --primary-800: #557E19;
    --primary-900: #446514;
    
    /* SECONDARY ACCENTS */
    --accent-black: #000000;
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(3rem, 5vw, 4.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
p { font-size: 1rem; margin-bottom: 1.5rem; }
a { text-decoration: none; color: inherit; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-accent { color: var(--primary-600); }
.mt-4 { margin-top: 2rem; }
.w-full { width: 100%; }

.section-padding { padding: 120px 0; }

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Buttons */
.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary-400) 0%,
        var(--primary-500) 50%,
        var(--primary-600) 100%
    );
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: var(--accent-black);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 
        0 4px 14px rgba(152, 226, 45, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(152, 226, 45, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 12px;
    border: 2px solid var(--bg-tertiary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--primary-500);
    background-color: var(--primary-50);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Glassmorphism Cards (Light Mode) */
.glass-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.8) 100%
    );
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 4px 20px -2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 0 rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(152, 226, 45, 0.5);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.1), 0 0 20px rgba(152, 226, 45, 0.1);
    transform: translateY(-4px);
}

/* Effect Utility */
.glow-text {
    text-shadow: 
        0 0 10px rgba(152, 226, 45, 0.6),
        0 0 20px rgba(152, 226, 45, 0.3);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    overflow: visible;
}

.logo-img {
    height: 260px;
    width: 260px;
    object-fit: contain;
    margin: -100px -30px;
    mix-blend-mode: multiply;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 999;
    padding: 100px 24px 24px;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

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

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right top, rgba(152, 226, 45, 0.15) 0%, transparent 50%),
                radial-gradient(circle at left bottom, rgba(230, 248, 201, 1) 0%, transparent 50%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 32px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--bg-tertiary);
}

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

.sphere {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1/1;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.sphere-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(152, 226, 45, 0.2) 0%, rgba(152, 226, 45, 0.05) 100%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.hero-image {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 2;
    border-radius: 24px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* ==========================================================================
   SOCIAL PROOF
   ========================================================================== */
.social-proof {
    padding: 40px 0;
    border-top: 1px solid var(--bg-tertiary);
    border-bottom: 1px solid var(--bg-tertiary);
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.social-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-quaternary);
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.logos-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.partner-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-tertiary);
    opacity: 0.5;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    color: var(--primary-600);
    filter: grayscale(0%);
}

/* ==========================================================================
   SERVICES / FLIP CARDS
   ========================================================================== */
.section-header {
    max-width: 600px;
    margin: 0 auto 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card-flip {
    position: relative;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-card-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: var(--bg-tertiary);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-flip:hover .service-image,
.service-card-flip.flipped .service-image {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 32px 24px 24px;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.service-card-flip:hover .service-overlay,
.service-card-flip.flipped .service-overlay {
    opacity: 0;
}

.service-title-front {
    color: #FFFFFF;
    margin: 0;
}

.service-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.service-card-flip:hover .service-card-back,
.service-card-flip.flipped .service-card-back {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-title-back {
    color: var(--primary-600);
    margin-bottom: 16px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.service-card-flip:hover .service-title-back,
.service-card-flip:hover .service-description,
.service-card-flip:hover .service-features,
.service-card-flip.flipped .service-title-back,
.service-card-flip.flipped .service-description,
.service-card-flip.flipped .service-features {
    transform: translateY(0);
}

.feature-tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--bg-tertiary);
}

/* ==========================================================================
   SHOWCASE / DASHBOARD PREVIEW
   ========================================================================== */
.showcase {
    background: var(--bg-secondary);
}

.container-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.showcase-list {
    list-style: none;
    margin: 32px 0;
}

.showcase-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.icon-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-500);
    color: var(--accent-black);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: bold;
}

.showcase-visual {
    position: relative;
    padding: 40px;
}

.dashboard-glass {
    padding: 24px;
    background: rgba(255,255,255,0.9);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dash-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.dash-badge {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.dash-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--bg-tertiary);
    padding-bottom: 8px;
}

.dash-chart-bars .bar {
    flex: 1;
    background: var(--bg-tertiary);
    border-radius: 4px 4px 0 0;
    transition: height 1.5s ease-out;
}

.dash-stats {
    display: flex;
    justify-content: space-between;
}

.dash-stat {
    display: flex;
    flex-direction: column;
}

.dash-stat span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.dash-stat strong {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.dashboard-widget {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 200px;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.pie-chart {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-500) 0% 64%, var(--bg-tertiary) 64% 100%);
}

.pie-info {
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    position: relative;
    padding: 40px 32px;
}

.quote-mark {
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: serif;
    font-size: 4rem;
    color: var(--primary-100);
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    padding: 120px 0;
    background: radial-gradient(circle at center, rgba(152, 226, 45, 0.1) 0%, transparent 70%);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 20px 60px rgba(152, 226, 45, 0.15);
    border-color: rgba(152, 226, 45, 0.3);
}

.help-text {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-primary);
    padding: 80px 0 24px;
    border-top: 1px solid var(--bg-tertiary);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-desc {
    margin: 24px 0;
    color: var(--text-tertiary);
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-500);
    color: var(--accent-black);
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links-col a {
    display: block;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--bg-secondary);
    padding-top: 24px;
    color: var(--text-quaternary);
}

/* ==========================================================================
   ANIMATIONS & PARTICLES
   ========================================================================== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--primary-500);
    border-radius: 50%;
    opacity: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-20px) rotate(0.5deg); }
}

@keyframes float-particle {
    0% { transform: translate(0, 0); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    100% { transform: translate(100px, -200px); opacity: 0; }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 0 0 1px rgba(152, 226, 45, 0.5),
            0 4px 24px rgba(152, 226, 45, 0.4);
    }
    50% {
        box-shadow: 
            0 0 0 2px rgba(152, 226, 45, 0.8),
            0 8px 40px rgba(152, 226, 45, 0.6);
    }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes fade-in-rotate {
    0% { opacity: 0; transform: perspective(1000px) rotateY(-15deg) translateY(20px); }
    100% { opacity: 1; transform: perspective(1000px) rotateY(0deg) translateY(0); }
}

.fade-in-up { opacity: 0; animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.scale-in { opacity: 0; animation: scale-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; }
.fade-in-rotate { opacity: 0; animation: fade-in-rotate 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.animate-in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-metrics {
        justify-content: center;
    }
    .container-showcase {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .mobile-hide { display: none; }
    .mobile-menu-toggle { display: flex; }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 16px;
    }
    
    .metric-divider {
        width: 40px;
        height: 1px;
    }
}
