/* =========================================
   AURA FLOW FIT - DESIGN SYSTEM
   ========================================= */

:root {
    /* Colors */
    --bg-primary: #000000;
    --bg-secondary: #09090B;
    --bg-tertiary: #18181B;

    /* Calypso Palette */
    --primary-50: #ECFEFF;
    --primary-100: #CFFAFE;
    --primary-200: #A5F3FC;
    --primary-300: #67E8F9;
    --primary-400: #22D3EE;
    --primary-500: #06B6D4;
    /* Main Accent */
    --primary-600: #0891B2;
    --primary-700: #0E7490;
    --primary-800: #155E75;
    --primary-900: #164E63;

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #E4E4E7;
    --text-tertiary: #A1A1AA;

    /* Fonts */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Headings */
h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* =========================================
   COMPONENTS
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-display);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg,
            var(--primary-600) 0%,
            var(--primary-500) 50%,
            var(--primary-400) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: white;
    border: none;
    box-shadow: 0 4px 24px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--primary-500);
    color: var(--text-primary);
    background: rgba(6, 182, 212, 0.1);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

/* Glow Effect */
.glow-primary {
    position: relative;
}

.glow-primary::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-500);
    border-radius: 8px;
    display: block;
    transform: rotate(45deg);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nav-link:hover::after {
    width: 100%;
}

.admin-link {
    opacity: 0.6;
    font-size: 0.8rem;
}

/* Premium Sphere Component */
.sphere-container {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}

.sphere {
    width: 380px;
    height: 380px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

/* The Neon Ring */
.sphere::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #ff2d75, #06B6D4, #ff2d75);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    box-shadow: 0 0 25px rgba(255, 45, 117, 0.6);
    animation: ring-rotate 10s linear infinite;
}

@keyframes ring-rotate {
    from {
        filter: hue-rotate(0deg);
    }

    to {
        filter: hue-rotate(360deg);
    }
}

.sphere-inner {
    width: 95%;
    height: 95%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-image: url('../images/hero-silhouette.png');
    filter: grayscale(20%) contrast(110%);
}

.neon-ring-svg {
    position: absolute;
    inset: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    animation: rotate-ring 15s linear infinite;
    filter: drop-shadow(0 0 10px #ff2d75);
}

@keyframes rotate-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

@media (min-width: 769px) {

    .mobile-menu-toggle,
    .mobile-menu {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}



/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), url('../images/hero-3d-studio.jpg') center/cover;
}

/* Background Gradients Blur */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 60%);
    filter: blur(80px);
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
    animation: fade-in-up 0.8s ease forwards;
    opacity: 0;
}

.hero-label .label-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-300);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    animation: fade-in-up 0.8s ease 0.2s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-tertiary);
    margin-bottom: 40px;
    max-width: 540px;
    opacity: 0;
    animation: fade-in-up 0.8s ease 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fade-in-up 0.8s ease 0.6s forwards;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
    opacity: 0;
    animation: fade-in-up 0.8s ease 0.8s forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* 3D Sphere Placeholder */
.sphere-container {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.sphere {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.sphere-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1518611012118-2960c8badce8?auto=format&fit=crop&q=80&w=800') center/cover;
    border-radius: 50%;
    border: 3px solid #ff2d75;
    /* Neon Pink/Red ring */
    box-shadow:
        0 0 20px #ff2d75,
        0 0 40px rgba(255, 45, 117, 0.4),
        inset 0 0 30px rgba(255, 45, 117, 0.4);
    position: relative;
    overflow: hidden;
}

.sphere::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 45, 117, 0.3) 0%, transparent 70%);
    filter: blur(15px);
    z-index: -1;
}

/* =========================================
   SECTIONS GENERAL
   ========================================= */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-tertiary);
}

/* =========================================
   SOCIAL PROOF - PREMIUM REDESIGN
   ========================================= */
.social-proof {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-label-center {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--primary-400);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 600;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 20px 0;
}

.logo-item {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: default;
}

.logo-item:hover {
    color: var(--primary-400);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

@media (max-width: 768px) {
    .logos-grid {
        gap: 30px;
    }
}

/* =========================================
   SERVICES FLIP CARDS
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card-flip {
    background-color: transparent;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-flip.reveal {
    opacity: 1;
    transform: translateY(0);
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

/* Front Side */
.service-card-front {
    background-color: var(--bg-tertiary);
    display: flex;
    flex-direction: column;
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.color-1 {
    background: radial-gradient(circle at top right, #1e1e1e, #000);
}

.color-2 {
    background: radial-gradient(circle at top right, #252525, #0a0a0a);
}

.color-3 {
    background: radial-gradient(circle at top right, #2a2a2a, #111);
}

.color-4 {
    background: radial-gradient(circle at top right, #333, #151515);
}


.service-icon {
    font-size: 3rem;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 3;
    text-align: left;
}

.service-title-front {
    font-size: 1.25rem;
    color: white;
}

/* Back Side */
.service-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    background: rgba(24, 24, 27, 0.95);
    /* Slight opacity for glass effect */
    border: 1px solid var(--primary-500);
}

.service-title-back {
    color: var(--primary-500);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary-300);
    border-radius: 100px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

/* =========================================
   EXPERIENCE SECTION
   ========================================= */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.check-icon {
    color: var(--primary-500);
    font-weight: 800;
}

.showcase-card {
    height: 500px;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.showcase-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #111, #222);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #333;
}

.showcase-info {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
}

.showcase-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--primary-300);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-placeholder {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #444;
}

.about-circle-decoration {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 200px 200px 24px 24px;
    transform: scale(1.05);
    z-index: -1;
}

.label-text-calypso {
    color: var(--primary-500);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 16px;
}

.founder-quote {
    margin-top: 32px;
    padding: 24px;
    border-left: 4px solid var(--primary-500);
}

.founder-quote p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-container {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    padding: 80px 40px;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-input {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.cta-textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-input:focus {
    outline: none;
    border-color: var(--primary-500);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: white;
}

.footer-desc {
    color: var(--text-tertiary);
    max-width: 300px;
}

.footer-links-group h4 {
    margin-bottom: 24px;
    color: white;
}

.footer-links-group a {
    display: block;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-links-group a:hover {
    color: var(--primary-500);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translateY(-5px) rotate(-2deg);
    }

    75% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .cta-form {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    /* Mobile Menu Active State */
    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        padding: 24px;
        display: none;
        /* JS to toggle */
        flex-direction: column;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-link {
        font-size: 1.1rem;
        font-weight: 600;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}