@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

/* Color Themes Setup */
:root {
    color-scheme: dark light;
    --bg-dark: #050511;
    --bg-deep: #09091e;
    --bg-card: rgba(255, 255, 255, 0.02);
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --card-border: rgba(255, 255, 255, 0.08);
    --header-bg: rgba(5, 5, 17, 0.4);
    --input-bg: rgba(5, 5, 17, 0.6);
    --glass-card-bg: rgba(255, 255, 255, 0.03);
    --glass-card-border: rgba(255, 255, 255, 0.15);
    --dot-bg: rgba(255, 255, 255, 0.3);
    --accent-cyan: #00f0ff;
    --accent-purple: #7000ff;
    --accent-pink: #ff007f;
}

@media (prefers-color-scheme: light) {
    :root {
        color-scheme: light;
        --bg-dark: #f8fafc;
        --bg-deep: #f1f5f9;
        --bg-card: #ffffff;
        --text-light: #0f172a;
        --text-muted: #475569;
        --card-border: rgba(15, 23, 42, 0.08);
        --header-bg: rgba(248, 250, 252, 0.6);
        --input-bg: #ffffff;
        --glass-card-bg: rgba(15, 23, 42, 0.03);
        --glass-card-border: rgba(15, 23, 42, 0.1);
        --dot-bg: rgba(15, 23, 42, 0.3);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    transition: background-color 0.4s, color 0.4s;
    cursor: default;
}

/* --- STICKY SIDE DOT NAVIGATION --- */
.dot-nav {
    position: fixed;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 99;
}

.dot-nav a {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--dot-bg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

/* Dynamic scaling simulating original premium active indicator */
.dot-nav a.active {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    transform: scale(1.8);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

/* Fixed Navigation Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: background 0.4s, border-bottom 0.4s;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--text-light), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--accent-cyan);
}

.lang-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-glow {
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    background: transparent;
    color: var(--text-light);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--accent-purple);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    z-index: -1;
    transition: all 0.4s ease;
}

.btn-glow:hover::before {
    left: 0;
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.6);
    border-color: transparent;
    color: #fff;
}

/* Snap Section Structural Layout */
section {
    scroll-snap-align: start;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 8%;
    overflow: hidden;
}

.section-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

/* --- FRAME 1: HERO VIEW --- */
.hero {
    background: var(--bg-dark);
}

.diagonal-bg-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 64%;
    height: 120%;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.75), rgba(0, 240, 255, 0.75));
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 85%);
    z-index: 1;
    animation: pulseBg 8s infinite alternate;
}

.diagonal-bg-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 50%;
    padding-top: 4rem;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 90%;
    line-height: 1.8;
}

.hero-visuals {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 35%;
    height: 60vh;
    z-index: 2;
}

.glass-card {
    position: absolute;
    background: var(--glass-card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-card-border);
    border-radius: 24px;
    padding: 2.2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 12%;
    right: 5%;
    width: 320px;
    border-left: 4px solid var(--accent-cyan);
}

.card-2 {
    bottom: 12%;
    left: -5%;
    width: 340px;
    animation-delay: -3s;
    border-right: 4px solid var(--accent-pink);
}

.glass-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.glass-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- FRAME 2: WHAT WE DO VIEW --- */
.what-we-do {
    background-color: var(--bg-deep);
}

.diagonal-bg-2 {
    position: absolute;
    top: 0;
    left: -5%;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.04), rgba(112, 0, 255, 0.04));
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%);
    z-index: 1;
    border-right: 1px dashed var(--card-border);
}

.section-split {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr;
    gap: 6rem;
    align-items: start;
}

.main-description h2, .section-title h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--text-light), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-description p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.motto {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--accent-cyan);
    border-left: 3px solid var(--accent-pink);
    padding-left: 1.5rem;
    margin-top: 3rem;
    line-height: 1.6;
}

.pillars-container {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.4s ease;
}

.pillar-card:hover {
    background: var(--bg-deep);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateX(10px);
}

.pillar-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-pink);
    line-height: 1;
}

.pillar-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pillar-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- FRAME 3: BUSINESS LINES (CREATIVE RE-DESIGN) --- */
.business-lines {
    background-color: var(--bg-dark);
}

/* Fluid, asymmetric column card adjustments for high-end look */
.creative-flex-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.creative-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
}

.creative-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 3.5rem 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Spreading items unevenly for sophisticated architectural design */
.span-3 {
    grid-column: span 3;
}

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

.span-4 {
    grid-column: span 4;
}

.creative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-cyan));
    opacity: 0.7;
    transition: width 0.3s ease;
}

.creative-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 40px 70px rgba(0, 0, 0, 0.15);
}

.creative-card:hover::before {
    width: 12px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.biz-index {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 20px;
}

.biz-icon-large {
    font-size: 3rem;
}

.creative-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.creative-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- FRAME 4: CONTACT & FOOTER VIEW --- */
.contact-section {
    background-color: var(--bg-deep);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 8rem;
    padding-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.contact-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.contact-item span {
    color: var(--accent-cyan);
    font-weight: bold;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 24px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

footer {
    width: 100%;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* Responsive Design Rules */
@media (max-width: 1250px) {
    html {
        scroll-snap-type: none;
    }

    section {
        min-height: auto;
        padding: 7rem 5%;
    }

    .diagonal-bg-1 {
        clip-path: polygon(0 30%, 100% 0, 100% 100%, 0% 100%);
        width: 100%;
        top: 50%;
        height: 50%;
    }

    .diagonal-bg-2 {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        width: 100%;
        padding-top: 4rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        margin: 0 auto 2.5rem auto;
    }

    .hero-visuals {
        position: relative;
        width: 100%;
        height: 40vh;
        transform: none;
        top: auto;
        right: auto;
        margin-top: 3rem;
    }

    .card-1 {
        top: 0;
        right: 5%;
        width: 45%;
    }

    .card-2 {
        bottom: 0;
        left: 5%;
        width: 48%;
    }

    .section-split, .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .creative-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .span-2, .span-3, .span-4 {
        grid-column: span 1;
    }

    .main-description h2, .section-title h2, .contact-info h2 {
        font-size: 2.6rem;
    }

    nav ul, .dot-nav {
        display: none;
    }

    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 2rem;
    }

    .card-1, .card-2 {
        width: 100%;
        position: relative;
        margin-bottom: 1.5rem;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
    }

    .hero-visuals {
        height: auto;
    }
}

@keyframes pulseBg {
    0% {
        filter: hue-rotate(0deg) brightness(1);
        transform: scale(1);
    }
    100% {
        filter: hue-rotate(15deg) brightness(1.05);
        transform: scale(1.01);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}
