﻿:root {
    /* Brand Colors based on slides */
    --ks-deep-purple: #48236d; /* Main background purple */
    --ks-dark-purple: #2e1248; /* Footer/Darker sections */
    --ks-orange: #f47920; /* Highlight orange */
    --ks-text-light: #f4f4f4;
    --ks-text-muted: #d1c4e9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ks-text-light);
    background-color: var(--ks-deep-purple);
    line-height: 1.6;
    padding-top: 70px;
}

@media (max-width: 991px) {
    body {
        padding-top: 60px;
    }
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 {
    font-size: 3rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
    color: var(--ks-orange);
}

.text-orange {
    color: var(--ks-orange) !important;
}

.text-purple {
    color: var(--ks-deep-purple) !important;
}

/* --- Layout Utilities --- */
.section-padding {
    padding: 100px 0;
}

.bg-dark-purple {
    background-color: var(--ks-dark-purple);
}

/* --- Navbar --- */
.navbar {
    background-color: rgba(46, 18, 72, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar-brand {
    font-weight: 800;
    color: var(--ks-white) !important;
    font-size: 1.5rem;
    text-transform: uppercase;
}

/* --- Section: Hero (Slide 1) --- */
.hero-section {
    background: linear-gradient(135deg, #5b2a8f 0%, #48236d 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* --- Section: Why This Exists (Slide 2) --- */
.card-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s;
}

    .card-glass:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-5px);
    }

/* --- Section: The Shift (Slide 3) --- */
.shift-section {
    background: linear-gradient(to right, var(--ks-deep-purple), #240b36);
}

/* --- Section: What's Coming (Slide 4) --- */
.feature-list-modern {
    border-left: 2px solid var(--ks-orange);
    padding-left: 2rem;
}

    .feature-list-modern li {
        list-style: none;
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
    }

/* --- Section: Who We Are (Slide 5) --- */
.team-section {
    background: radial-gradient(circle at top right, #f4792055, transparent 40%), var(--ks-dark-purple);
}

/* --- Section: Contact/Get Ahead (Slide 6) --- */
.contact-section {
    background-color: #2b1145;
    border-top: 4px solid var(--ks-orange);
}

.form-control {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 15px;
}

    .form-control:focus {
        background-color: rgba(255,255,255,0.15);
        border-color: var(--ks-orange);
        color: white;
        box-shadow: none;
    }

    .form-control::placeholder {
        color: rgba(255,255,255,0.5);
    }

/* --- Buttons --- */
.btn-kollective {
    background-color: var(--ks-orange);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
}

    .btn-kollective:hover {
        background-color: #d8600d;
        color: white;
        transform: scale(1.02);
    }

footer {
    background-color: #150821;
    color: #666;
    font-size: 0.85rem;
    padding: 40px 0;
}


.abstract-orb {
    width: 350px;
    height: 350px;
    /* Creates a fluid mix of your Orange and Purple */
    background: radial-gradient(circle at 30% 30%, var(--ks-orange), transparent 60%), radial-gradient(circle at 70% 70%, #8a2be2, transparent 60%);
    background-color: var(--ks-deep-purple);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    filter: blur(40px);
    opacity: 0.8;
    animation: morphine 8s ease-in-out infinite;
}

/* Makes the shape morph slowly like liquid */
@keyframes morphine {
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: rotate(0deg);
    }

    33% {
        border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
    }

    66% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: rotate(360deg);
    }
}

.hero-wedge-design {
    /* Desktop: Diagonal split (65% Purple, 35% Orange) */
    background: linear-gradient(135deg, var(--ks-deep-purple) 65%, var(--ks-orange) 65%);
    min-height: 95vh; /* Full height */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Mobile: Stacked split (Purple top, Orange bottom) */
@media (max-width: 991px) {
    .hero-wedge-design {
        background: linear-gradient(to bottom, var(--ks-deep-purple) 75%, var(--ks-orange) 75%);
        padding-top: 80px;
        align-items: flex-start; /* Move text up slightly on mobile */
    }
}

.digital-cloth-box {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    background-color: #1a0b2e; /* Dark purple base */

    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* Adds depth */
}

/* Common styles for both grid layers */
.grid-layer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%; /* Make them huge so we can move them around */
    height: 200%;
    /* The Grid Pattern */
    background-image: linear-gradient(rgba(244, 121, 32, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 121, 32, 0.15) 1px, transparent 1px);
    background-size: 40px 40px; /* Size of grid cells */
    /* Circular fade mask so edges aren't harsh */
    mask-image: radial-gradient(circle, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
}

/* Layer 1: The Static Base (Slightly tilted for 3D feel) */
.layer-base {
    transform: rotateX(20deg) rotateZ(-10deg);
    opacity: 0.6;
}

/* Layer 2: The Rippling Cloth */
.layer-ripple {
    opacity: 0.5;
    /* The animation creates the interference/ripple pattern */
    animation: cloth-wave 12s ease-in-out infinite alternate;
}

/* The Branding */
.inner-K {
    font-size: 18rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 3px rgba(255, 255, 255, 0.1);
    z-index: 10;
    pointer-events: none;
    /* Optional: Make the K float slightly too */
    animation: k-float 6s ease-in-out infinite;
}

/* Animation 1: The Moiré Ripple */
@keyframes cloth-wave {
    0% {
        transform: rotateX(20deg) rotateZ(-10deg) scale(1) translate(0, 0);
    }

    50% {
        /* Slightly offset and scaled creates a "wave" looking through the grids */
        transform: rotateX(25deg) rotateZ(-8deg) scale(1.02) translate(10px, -10px);
    }

    100% {
        transform: rotateX(20deg) rotateZ(-12deg) scale(1.05) translate(-10px, 10px);
    }
}

/* Animation 2: Gentle Float for the Text */
@keyframes k-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}
