:root {
    /* Color Palette - Customize these for your brand */
    --color-primary: #fefefe; /* Deep purple/blue */
    --color-secondary: #0f3460;  
    --color-accent-1: #6C3BAA;   
    --color-accent-2: #A379D9;  
    --color-text-light: #fefefe;
    --color-text-dark: #5411AB;
    --color-bg-1: #2F0A61;
      

     --text-highlight-people-blog-1: #6C3BAA;  
    /* Typography - Fluid font sizes using clamp() */
    --font-family-primary: 'karla';
    --font-family-secondary: 'karla';
    --font-size-base: clamp(1rem, 1.5vw, 1.25rem);
    --font-size-h1: clamp(2.5rem, 6vw, 5rem);
    --font-size-h2: clamp(2rem, 4.5vw, 3.5rem);
    --line-height-base: 1.6;

    /* Spacing & Layout */
    --padding-section: 4vw;
    --border-radius-card: 12px;
    --transition-speed-base: 0.8s;
    --cubic-bezier: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Ease-in-out */
}

/* Basic CSS Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* Smooth scroll behavior is handled by JavaScript for a custom animation */
    scroll-behavior: auto;
    font-size: 16px;
}

body {
    font-family: var(--font-family-primary);
    line-height: var(--line-height-base);
    color: var(--color-text-light);
    overflow: hidden; /* Prevent native scrolling. JS handles it. */
}

/*
-------------------------------------------------
2. Page Sections & Layout
-------------------------------------------------
*/
.page-sections {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.full-screen-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--padding-section);
    scroll-snap-align: start;
    position: relative;
    /* This ensures a smooth transition between section background changes */
    transition: background-color 1s var(--cubic-bezier),
                background-image 1s var(--cubic-bezier);
}

/* Backgrounds for each section */
.hero-section {
    background: var(--color-bg-1), url('https://picsum.photos/1920/1080?random=1') no-repeat center center / cover;
}

.founders-section {
    background-color: var(--color-bg-1);
}

.designers-section {
    background-color: var(--color-bg-1);
}

.agencies-section {
    background-color: var(--color-bg-1);
}

.enterprise-section {
    background-color: var(--color-bg-1);
}

.closing-section {
    background: var(--color-bg-1);
 }

/* Section content wrappers */
.content-wrapper {
    max-width: auto;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2, p {
    font-family: karla;
    padding-top: 20px;
}

h1 {
    font-size: var(--font-size-h1);
    font-weight: 700;
    margin-bottom: 2vh;
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: 2vh;
}

p {
    font-size: var(--font-size-base);
    max-width: 60ch;
    font-weight: 400;
    opacity: 0.9;
}

/* Container */
.container {
    max-width: 1024px;
   
}

/* Ensure the SVG itself fills its container */
.hero-bg-svg-container svg {
    width: 100%;
    height: 100%;
}

/*
This is the main wrapper for the hero content.
We use a separate wrapper so the content stays centered and on top.
*/
.hero-content-wrapper {
    position: relative;
    z-index: 2; /* Ensure content is on top of the SVG */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}


/*
Hero Section - Visual Background
This container is now positioned to fill the entire section,
and is placed behind the text using z-index.
*/
.hero-visual-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Flexbox for the horizontal/vertical layout */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw; /* Responsive gap between images */
    z-index: 1; /* Puts this layer behind the text */
    overflow: hidden;
}

/*
Style the images within the hero background.
They should scale but not become too large.
*/
.hero-visual-background img {
    height: 100%;
    width: auto;
    max-height: 50vh; /* Prevents images from getting too big vertically */
    max-width: 500px;
    object-fit: contain;
}

/*
Hero Section - Content Wrapper
This container holds the text and must be on top of the images.
*/
.hero-content-wrapper {
    position: relative;
    z-index: 2; /* Ensures the text is on top */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: var(--padding-section);
}

/*
Media Query to stack images on smaller screens
This is what makes them go from horizontal to vertical.
*/
@media (max-width: 768px) {
    .hero-visual-background {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-visual-background img {
        max-height: 40vh;
    }
}

/*
Update the main hero section rule to only have the overlay.
*/
.hero-section {
    position: relative;
    background: var(--color-bg-1);
    overflow: hidden;
}


/* Visuals */
.visual-placeholder {
    width: 100%;
    height: auto;
    margin-top: clamp(1rem, 2vw, 2rem);
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder .svg-visual {
    width: 100%;
    height: auto;
    opacity: 0.5;
}

.visual-placeholder .device-mockups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 1.5rem;
     justify-items: center; 
}

.visual-placeholder .device-mockups img {
   width: clamp(200px, 30vw, 300px);
    height: auto;
    border-radius: var(--border-radius-card);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Content Card Grid */
.closing-section .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: clamp(3rem, 6vw, 5rem);
    width: 100%;
}

.closing-section .card {
    position: relative; 
    background-color: var(--color-bg-1); 
    overflow: hidden; 
   backdrop-filter: blur(10px);
    border-radius: var(--border-radius-card);
    padding: 2rem;
    text-align: left;
    color: var(--color-text-light); /* Changed to light text for visibility on dark background */
    transition: transform 0.3s var(--cubic-bezier);
}

.closing-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.closing-section .card h3 {
    font-family: var(--font-family-primary);
   
    color: var(--color-primary);
}

.closing-section .card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.closing-section .card a {
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: bold; 
    letter-spacing: 1px;
    position: relative;
}

.closing-section .card a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-1);
    transition: width 0.3s ease-out;
}

.closing-section .card a:hover::after {
    width: 100%;
}


/*
This pseudo-element creates the primary gradient border.
It is positioned to cover the entire card and then stretched slightly
with a negative margin or padding to create the border effect.
*/
.closing-section .card::before {
    content: "";
    position: absolute;
    inset: 0; /* A modern shorthand for top, right, bottom, left */
    border-radius: inherit;
    z-index: -1;
    
    /* Using a conic gradient with your brand colors. */
    background: conic-gradient(from var(--angle), var(--color-accent-1), var(--color-primary), var(--color-accent-2), var(--color-accent-1));
    
    /* The padding creates the visible "border" effect. */
    padding: 3px; 
    
    /* The animation rule */
    animation: animate 2s linear infinite;
    
    /* This makes the gradient visible around the card's content */
    -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;
}

/*
This pseudo-element creates the blurred, glowing effect behind the border.
*/
.closing-section .card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -2;
    background: inherit;
    filter: blur(20px);
}

/*
=================================================
GLOBAL GRADIENT BORDER PROPERTIES
=================================================
*/
@property --angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0deg;
}

@keyframes animate {
    to {
        --angle: 360deg;
    }
}




.image01 { 
    width: 99%;
  height: 99%;
  display: block;
  border-radius: 8px;
  align-items: center;
}
/*
-------------------------------------------------
3. Scroll Arrow Button
-------------------------------------------------
*/
.scroll-down-button {
    position: absolute;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: clamp(1.5rem, 3vw, 2rem);
    cursor: pointer;
    transition: transform 0.3s var(--cubic-bezier);
    z-index: 10;
    opacity: 0.8;
}

.scroll-down-button:hover,
.scroll-down-button:focus {
    transform: translateX(-50%) translateY(5px);
    opacity: 1;
}

/* Subtle bounce animation for the arrow */
.animate-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/*
-------------------------------------------------
4. Cinematic Entrance Animations
-------------------------------------------------
These classes define the initial and final states for
the fade/slide-in animations, triggered by JavaScript.
*/

/* Initial state: hidden and slightly offset */
.animate-text {
    opacity: 0;
    margin-top: 20px;
    transform: translateY(20px);
     transition: opacity 1s var(--cubic-bezier), transform 1s var(--cubic-bezier);
}

mark {
  background-color: #2F0A61;
  color: white; /* Optional: change text color for better contrast */
}

.animate-text-hero {
    opacity: 4;
    transform: translateY(20px);
    transition: opacity 1s var(--cubic-bezier), transform 1s var(--cubic-bezier);
}

.animate-visual {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s var(--cubic-bezier), transform 1s var(--cubic-bezier);
}

/* Active state: visible and in final position */
.is-visible .animate-text {
    opacity: 1;
    transform: translateY(0);
}

.is-visible .animate-visual {
    opacity: 1;
    transform: scale(1);
}

html {  
    /* Light Mode Color Tokens */
    --color-background-defaultt: #F9FAFB;
    --color-surface-card: #FFFFFF;
    --color-text-primaryy: #111827;
    --color-text-secondary: #6B7280;
    --color-button-primary: #2563EB;
    --color-button-primaryyy: #aab2c0;
    --color-button-hover: #1D4ED8;
    --color-border-defaultt: #E5E7EB;
    --color-input-background: #F3F4F6;
    --color-text-error: #DC2626;

    /* Spacing Tokens */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 64px;

    /* Other Variables */
    --font-family-brand-kit: 'Inter', sans-serif; /* Renamed to avoid conflicts */
    --border-radius-standard: 8px;
    --shadow-elevation: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

html.dark {
    /* Dark Mode Color Tokens */
    --color-background-defaultt: #1E1E1E;
    --color-surface-card: #2A2A2A;
    --color-text-primaryy: #F9FAFB;
    --color-text-secondaryy: #A1A1AA;
    --color-button-primary: #3B82F6;
    --color-button-primaryyy: #bad5ff;
    --color-button-hover: #60A5FA;
    --color-border-defaultt: #3F3F46;
    --color-input-background: #1F2937;
    --color-text-error: #F87171; }


    /* --- Brand Kit Styles --- */
.brand-kit-container {
    max-width: 100%;
    width: auto; /* Constrain max width for desktop view */
    padding: 1rem;
}

/* --- Base Styles --- */
.brand-kit-container body {
    background-color: var(--color-background-defaultt);
    color: var(--color-text-primaryy);
    font-family: var(--font-family-brand-kit);
    transition: background-color 0.3s, color 0.3s;
}
 
/* --- Typography Scale --- */
.brand-kit-text-h1 { font-size: 32px; line-height: 40px; font-weight: 700; color: var(--color-text-primaryy);}
.brand-kit-text-h2 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--color-text-primaryy);}
.brand-kit-text-h3 { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--color-text-primaryy);}
.brand-kit-text-body { font-size: clamp(14px, 2vw, 16px); line-height: 1.5; font-weight: 400; color: var(--color-text-primaryy);}
.brand-kit-text-caption { font-size: 12px; line-height: 16px; font-weight: 400; color: var(--color-text-primaryy);}
 
/* --- Component Styles --- */
.brand-kit-card {
    background-color: var(--color-surface-card);
    border: 1px solid var(--color-border-defaultt);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--shadow-elevation);
    padding: 16px;
}
 
.brand-kit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
    border: 1px var(--color-surface-card);
    cursor: pointer;
    margin-bottom: 12px;

}
 
.brand-kit-btn-primary {
    background-color: var(--color-button-primary);
    color: #FFFFFF;
}
.brand-kit-btn-primary:hover {
    background-color: var(--color-button-hover);
}
 
.brand-kit-form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}
 
.brand-kit-form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primaryy);
}
 
.brand-kit-form-input {
    background-color: var(--color-input-background);
    border: 1px solid var(--color-border-default);
    border-radius: 6px;
    padding: 12px;
    width: 100%;
    color: var(--color-text-primary);
    transition: border-color 0.2s, background-color 0.3s;
}
.brand-kit-form-input:focus, .brand-kit-btn:focus-visible {
    outline: 2px solid var(--color-button-primary);
    outline-offset: 2px;
    border-color: var(--color-button-primary);
}
.brand-kit-form-input::placeholder {
    color: var(--color-text-secondary);
}

.brand-kit-header {
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.brand-kit-main-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .brand-kit-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.brand-kit-column-left,
.brand-kit-column-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* --- Icon Styles --- */
.brand-kit-icon { width: 24px; height: 24px; }
.brand-kit-icon-sm { width: 16px; height: 16px; }
.brand-kit-icon-md { width: 20px; height: 20px; }
.brand-kit-icon-lg { width: 24px; height: 24px; }

.full-screen-section .content-wrapper {
    overflow-y: auto;
    /* This allows the user to scroll within the frame without breaking
       the main page's scroll-snapping behavior. */
    height: 100vh;
    /* Use a padding on the sides for smaller screens */
 }
 
 .hl-people-blog-1 {
  background-color: var(--text-highlight-people-blog-1);
  text-align: center;
 }
