@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #D4AF37;
    --primary-soft: #F9E4A9;
    --secondary: #8E733E;
    --accent: #FFD700;
    --accent-soft: #FFF9E3;
    --bg-darker: #020617;
    --bg-dark: #0F172A;
    --bg-card: rgba(30, 41, 59, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(212, 175, 55, 0.2);
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --nav-height: 130px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 10px;
    border: 3px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-soft);
}

body {
    background: var(--bg-darker);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    background-image:
        radial-gradient(at 0% 0%, rgba(212, 175, 55, 0.15) 0, transparent 50%),
        radial-gradient(at 50% 0%, rgba(15, 23, 42, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.1) 0, transparent 50%);
}

.container {
    width: 94%;
    max-width: 1300px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
    position: relative;
    padding: 0;
    white-space: nowrap;
}

.nav-phone i {
    width: 35px;
    height: 35px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
}

.nav-phone:hover {
    color: var(--primary);
}

.nav-phone:hover i {
    background: var(--primary);
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    height: 100px;
    /* Fixed height for consistency */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-right: 2rem;
}

.logo img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-right: auto;
}

.nav-links li {
    list-style: none;
    white-space: nowrap;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

.contact-btn {
    padding: 0 25px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50px;
    color: white;
    font-weight: 600;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    font-size: 0.9rem;
}

.split-text .contact-btn {
    margin-top: 2.5rem;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(212, 175, 55, 0.6);
    filter: brightness(1.1);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--nav-height) + 120px);
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

.hero-content-wrapper {
    display: flex;
    align-items: flex-start;
    /* Aligned to top as per user's red line/arrow feedback */
    justify-content: space-between;
    gap: 4rem;
}

.hero-text-side {
    flex: 1;
    text-align: left;
}

.hero-visual-side {
    flex: 0.7;
    /* Reduced from 0.8 for better balance */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 480px;
    /* Reduced from 550px to make it more "in-line" with text height */
    height: auto;
    object-fit: contain;
    border-radius: 2rem;
    /* Premium rounded corners per user request */
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
    /* Added depth shadow */
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

.secondary-btn {
    border: 1px solid var(--glass-border);
    padding: 10px 25px;
    border-radius: 50px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-soft);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discovery-section {
    padding: 100px 0;
}

.section-intro {
    padding: 4rem;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-header h2 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0.3;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

/* Process Section */
.process-section {
    padding: 120px 0;
    background: rgba(30, 41, 59, 0.2);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    flex: 1;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(197, 160, 89, 0.15);
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-line {
    flex: 0.5;
    height: 1px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0.3;
}

/* Info Split */
.info-split {
    padding: 120px 0;
}

.split-wrapper {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.split-image {
    flex: 0.8;
}

.split-image img {
    border-radius: 3rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.split-text {
    flex: 1;
}

.info-alert {
    display: flex;
    gap: 1.5rem;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: 1.5rem;
    border-radius: 1.5rem;
    margin: 2rem 0;
    align-items: center;
}

.info-alert i {
    color: var(--primary-soft);
    font-size: 1.5rem;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* 3D Brain Animation */
.hero-3d-animate {
    animation: brainFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(124, 58, 237, 0.4));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-3d-animate:hover {
    filter: drop-shadow(0 0 50px rgba(124, 58, 237, 0.7));
    transform: scale(1.05) rotateY(10deg);
}

@keyframes brainFloat {

    0%,
    100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }

    25% {
        transform: translateY(-15px) rotateX(2deg) rotateY(3deg);
    }

    50% {
        transform: translateY(-25px) rotateX(-2deg) rotateY(-3deg) scale(1.02);
    }

    75% {
        transform: translateY(-10px) rotateX(1deg) rotateY(2deg);
    }
}

.whatsapp-btn {
    background: #25D366;
    padding: 0 35px;
    height: 58px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    line-height: 1;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.5);
}

.cta-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

/* Ensure buttons are identical in height and baseline */
.contact-btn,
.whatsapp-btn {
    vertical-align: middle;
    box-sizing: border-box;
}

@media (max-width: 1024px) {

    .hero-content-wrapper,
    .split-wrapper,
    .process-steps {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-side {
        text-align: center;
    }

    .hero p {
        margin: 0 auto 3rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .step-line {
        display: none;
    }

    .step-card {
        width: 100%;
    }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    padding: 3rem;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.4);
    height: 100%;
}

@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .contact-wrapper {
        gap: 2.5rem;
        flex-direction: column;
    }
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.contact-item i {
    background: rgba(212, 175, 55, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    flex-shrink: 0;
}

.contact-item-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: white;
}

.contact-item-text p {
    color: var(--text-muted);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-num {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
    pointer-events: none;
    font-family: Arial, sans-serif;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(197, 160, 89, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.12), rgba(99, 102, 241, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(142, 115, 62, 1));
    padding: 6rem 4rem;
    border-radius: 3.5rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #020617;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social a:hover {
    color: var(--primary) !important;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 1s ease forwards;
}

/* Responsive */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    nav {
        height: 80px;
    }

    .logo img {
        height: 70px !important;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-actions .contact-btn {
        display: none;
    }

    .nav-phone span {
        display: none;
    }

    .nav-phone {
        padding: 0;
    }

    .nav-actions {
        gap: 1rem;
    }

    .hide-mobile {
        display: none;
    }
}

.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(100px);
}

.blob {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--primary), transparent);
    opacity: 0.22;
    border-radius: 50%;
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--accent), transparent);
    animation: float-blob 20s infinite alternate;
}

.blob-2 {
    top: 40%;
    right: -10%;
    background: radial-gradient(circle, #E1E5ED, transparent);
    animation: float-blob 25s infinite alternate-reverse;
}

.blob-3 {
    bottom: -10%;
    left: 20%;
    background: radial-gradient(circle, #6366f1, transparent);
    opacity: 0.1;
    animation: float-blob 30s infinite alternate;
}

@keyframes float-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 100px) scale(1.2);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite ease-in-out alternate;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background: #128c7e;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 1.8rem;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

@media (max-width: 768px) {
    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 15px;
        bottom: 20px;
        right: 20px;
        border-radius: 50%;
    }

    .whatsapp-float i {
        margin: 0;
    }
}

/* Form Styles */
input,
textarea {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px !important;
    padding: 1.2rem !important;
    color: white !important;
    outline: none;
    width: 100%;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

input:focus,
textarea:focus {
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15) !important;
}

::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Premium Video Player Styles */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    border-radius: inherit;
}

.video-container iframe,
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    z-index: 1;
}

.video-overlay img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-container:hover .video-overlay img {
    transform: scale(1.05);
}

.video-container:hover .video-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.video-container:hover .play-button {
    transform: scale(1.15);
    background: var(--primary);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.8);
}

.play-button i {
    margin-left: 5px;
}