/* 
 * KRIHA - Public Website (B2C)
 * Design System & Component Styles
 */

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Partner Page Specifics --- */
.partner-hero {
    background: linear-gradient(135deg, #5C3BDB 0%, #4a2fb3 100%);
    padding: 180px 0 160px;
    position: relative;
    overflow: hidden;
    color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: -50px;
    z-index: 1;
}

.hero-decorative-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.car-icon {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.key-icon {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.shield-icon {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.gift-icon {
    top: 5%;
    right: 40%;
    animation-delay: 3s;
}

.discount-icon {
    bottom: 20%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.partner-hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.partner-hero h1 {
    font-size: 4rem;
    font-weight: 850;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--white);
    letter-spacing: -1px;
}

.partner-hero p {
    font-size: 1.25rem;
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 500;
}

.btn-partner-hero {
    background: var(--white);
    color: #5C3BDB;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.05rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-partner-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: #f8f8f8;
}

.partner-hero-image-container {
    display: flex;
    justify-content: flex-end;
}

.partner-hero-image-wrapper {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1.2 / 1;
    background: #000;
    border-radius: 60px 180px 60px 180px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    border: 12px solid rgba(255, 255, 255, 0.1);
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.partner-hero-image-wrapper:hover .hero-main-img {
    transform: scale(1.05);
}

.hero-diamond-shape {
    position: absolute;
    bottom: -40px;
    left: 5%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: rotate(15deg);
    z-index: 0;
}

/* --- Partner Page Refined Styles --- */
.partner-benefits-section {
    padding: 100px 5%;
    background: #fcfcfd;
}

.benefit-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-card-stylish {
    background: var(--white);
    padding: 24px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.benefit-card-stylish:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #e7f9ed;
    color: #28cd41;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.brand-icon-bg {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-icon-bg img {
    width: 22px;
    height: 22px;
}

/* Icon BG Variants */
.brand-icon-bg.purple {
    background: #f0edff;
}

.brand-icon-bg.blue {
    background: #eef7ff;
}

.brand-icon-bg.green {
    background: #effff3;
}

.brand-icon-bg.orange {
    background: #fff7ee;
}

.brand-icon-bg.red {
    background: #fff2f2;
}

.brand-icon-bg.indigo {
    background: #f2f2ff;
}

.brand-icon-bg.pink {
    background: #fff0f5;
}

.brand-icon-bg.teal {
    background: #e0fbfd;
}

.benefit-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

@media (max-width: 1200px) {
    .benefit-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .benefit-grid-v2 {
        grid-template-columns: 1fr;
    }
}

.partner-form-section {
    background-color: var(--gray-light);
    padding: 100px 5%;
}

.partner-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.download-image {
    max-width: 600px;
    width: 90%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.download-image:hover {
    transform: scale(1.02);
}

.partner-card {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.partner-card h2 {
    text-align: center;
    margin-bottom: 10px;
}

.partner-card p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    background-color: #f8f9fa;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.form-group input::placeholder {
    color: #aeb4be;
}

.form-group input:focus {
    background-color: var(--white);
    border-color: #5C3BDB;
    box-shadow: 0 0 0 4px rgba(92, 59, 219, 0.1);
}

.form-full {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-section-header,
    .form-full {
        grid-column: span 1;
    }
}

.btn-submit-premium {
    width: 100%;
    margin-top: 20px;
    padding: 18px 40px;
    background: var(--white);
    color: #5C3BDB;
    border: 2px solid #5C3BDB;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(92, 59, 219, 0.1);
}

.btn-submit-premium:hover {
    background: #5C3BDB;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(92, 59, 219, 0.3);
    transform: translateY(-2px);
}


/* --- Legal Pages Styling --- */
.legal-body {
    background-color: var(--white);
}

.legal-page-header {
    background-color: var(--white);
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-dark);
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-page-header .logo {
    color: var(--text-dark) !important;
}

.legal-hero {
    background-color: #f8f9fa;
    /* Professional Light Grey */
    padding: 140px 5% 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #888;
}

.breadcrumbs a {
    color: var(--text-dark);
    text-decoration: none;
}

.legal-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.legal-main-content {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.8;
}

.legal-main-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.legal-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
    height: fit-content;
    align-self: start;
}

.toc-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.toc-list {
    list-style: none;
}

.toc-item {
    margin-bottom: 12px;
}

.toc-link {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.toc-link:hover,
.toc-link.active {
    color: #5C3BDB;
    /* KRIHA Brand Color */
    font-weight: 700;
}

@media (max-width: 992px) {
    .legal-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-sidebar {
        display: none;
    }

    .legal-hero h1 {
        font-size: 2.2rem;
    }
}

:root {
    /* Color Palette */
    --bg-warm: #FDFCF0;
    --accent-lime: #5C3BDB;
    /* Updated to brand color */
    --accent-lime-hover: #4a2fb3;
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --white: #FFFFFF;
    --gray-light: #F2F2F2;

    /* Spacing */
    --section-padding: 100px 5%;
    --section-padding-mobile: 60px 20px;

    /* Borders & Shadows */
    --radius-full: 100px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    /* Hide scrollbar for Chrome, Safari and Opera */
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-lime);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 255, 0, 0.3);
}

.btn-secondary {
    background-color: var(--text-dark);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding var(--transition-smooth);
}

/* Background pseudo-element for sticky effect */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: -1;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

header.scrolled {
    padding: 15px 5%;
}

header.scrolled::before {
    transform: translateY(0);
}

/* Header Layout Restructure */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 3%;
    /* Reduced from 5% for tighter sides */
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 0 20px;
    /* Vertical padding handled by height */
    height: 52px;
    /* Match action buttons height */
    border-radius: 12px;
    /* Matched to action buttons */
    box-shadow: var(--shadow-soft);
    border: 1px solid transparent;
    /* Initial border */
    transition: var(--transition-smooth);
}

/* Scrolled state for header-left (no border, no shadow) */
header.scrolled .header-left,
body.menu-open #header .header-left {
    box-shadow: none;
    border: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-left .menu-btn {
    background: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
}

.logo {
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -1.5px;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo span {
    color: var(--accent-lime);
}

.header-left .logo img {
    height: 32px;
}

/* Action Buttons (Right Side) */
/* Language Dropdown Custom Style */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Slightly tighter gap */
    padding: 0 16px;
    /* Reduced side padding */
    height: 52px;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.95rem;
    /* Slightly smaller font */
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    min-width: 100px;
    /* Reduced from 180px */
    justify-content: center;
}

/* Scrolled and Menu Open state for lang-btn (restore purple bg, white text) */
header.scrolled .lang-btn,
body.menu-open #header .lang-btn {
    background-color: var(--accent-lime);
    color: var(--white);
    box-shadow: none;
    border: none;
}

.lang-btn .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    width: 100%;
    min-width: 100px;
    /* Reduced from 180px */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 6px 0;
    /* Tighter padding */
    z-index: 1000;
    margin-top: 8px;
    /* Slightly smaller margin */
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-dropdown.active .lang-menu {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    /* Tighter padding */
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background-color: var(--gray-light);
}

.lang-option .flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    /* Reduced side padding */
    height: 52px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    min-width: 180px;
    /* More compact width */
    justify-content: center;
}

/* Scrolled and Menu Open state for header-action-btn (restore purple bg, white text) */
header.scrolled .header-action-btn,
body.menu-open #header .header-action-btn {
    background-color: var(--accent-lime);
    color: var(--white);
    box-shadow: none;
    border: none;
}

.header-action-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-action-btn .icon {
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .header-action-btn span:not(.icon) {
        display: none;
    }

    .header-action-btn {
        padding: 10px;
    }
}

.menu-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: var(--transition-smooth);
}

.menu-burger span {
    width: 26px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-smooth);
    transform-origin: center;
}

/* Burger to X transformation */
.menu-btn.active .menu-burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.active .menu-burger span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .menu-burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu Overlay Styles */
.menu-overlay {
    position: fixed;
    top: -100%;
    /* Hidden above */
    left: 0;
    width: 100%;
    height: 75vh;
    /* Reduced height */
    background-color: var(--white);
    z-index: 999;
    transition: top 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 5% 40px;
    /* Increased top, reduced bottom to push icons down */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    /* Added shadow to bottom edge */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-overlay.active {
    top: 0;
}

.menu-content {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Slightly tighter gap for smaller text */
    margin-bottom: 8rem;
}

.menu-link {
    font-size: 1.5rem;
    /* Reduced for cleaner look */
    font-weight: 700;
    letter-spacing: 1px;
    /* Improved readability */
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(20px);
}

.menu-overlay.active .menu-link {
    opacity: 1;
    transform: translateY(0);
}

/* staggered animation for links */
.menu-overlay.active .menu-link:nth-child(1) {
    transition-delay: 0.2s;
}

.menu-overlay.active .menu-link:nth-child(2) {
    transition-delay: 0.3s;
}

.menu-overlay.active .menu-link:nth-child(3) {
    transition-delay: 0.4s;
}

.menu-overlay.active .menu-link:nth-child(4) {
    transition-delay: 0.5s;
}

.menu-overlay.active .menu-link:nth-child(5) {
    transition-delay: 0.6s;
}

.menu-link:hover {
    color: var(--accent-purple);
    transform: translateX(10px);
}

.menu-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 0;
}

.social-icons {
    display: flex;
    gap: 25px;
    opacity: 0;
    transition: opacity 0.5s ease 0.8s;
}

.menu-overlay.active .social-icons {
    opacity: 1;
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: filter 0.3s ease, transform 0.3s ease;
    filter: brightness(0);
    /* Start as solid black */
}

.social-icons a:hover img {
    transform: translateY(-5px);
    /* Filter to achieve #5C3BDB (Brand Purple) from Black */
    filter: invert(27%) sepia(82%) rotate(253deg) brightness(90%) contrast(105%);
}

body.menu-open {
    overflow: hidden;
}

/* Hero Slider */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-color: #000;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 5%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    /* Reduced from 5rem */
    font-weight: 850;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

.hero-content h1 .highlight {
    background-color: var(--accent-lime);
    color: var(--white);
    padding: 2px 12px;
    display: inline-block;
    border-radius: 4px;
    font-size: 0.9em;
    /* Specifically make the highlighted part slightly smaller if that's what was meant */
}

.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-hero {
    background-color: var(--accent-lime);
    color: var(--white);
    padding: 22px 32px;
    font-size: 1.25rem;
    border-radius: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-hero:hover {
    background-color: var(--accent-lime-hover);
}

.btn-text {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 4px;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.btn-text:hover::after {
    width: 100%;
}

/* Hero Tabs */
.hero-tabs {
    position: absolute;
    bottom: 60px;
    left: 5%;
    z-index: 10;
    display: flex;
    gap: 40px;
}

.hero-tab {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 750;
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
    transition: var(--transition-smooth);
}

.hero-tab.active {
    color: var(--white);
}

.hero-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--white);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-tab.active::after {
    width: 40px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-tabs {
        display: none;
    }
}

/* --- Why Choose Section --- */
#why-choose {
    background-color: var(--white);
    padding: 60px 0 100px;
    /* Reduced top padding */
}

.why-title {
    text-align: center;
    font-size: 4.5rem;
    font-weight: 850;
    margin-bottom: 40px;
    /* Reduced from 100px to bridge gap to icons */
    color: var(--text-dark);
    letter-spacing: -2px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--white);
    border-radius: 24px;
    padding: 0px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.why-card-image {
    width: 100%;
    aspect-ratio: 16/12;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 5px 0;
    /* Minimal padding for maximum icon size */
}

.why-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.05);
    /* Slight scale up to fill space */
}

.why-card-content {
    padding: 30px 40px 45px;
}

.why-card-content h3 {
    font-size: 1.6rem;
    font-weight: 850;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.25;
}

.why-card-content p {
    font-size: 1.15rem;
    color: #4a4a4a;
    line-height: 1.5;
}

@media (max-width: 992px) {

    .why-title,
    #how-it-works .section-title h2 {
        font-size: 2.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* --- Premium Footer --- */
.premium-footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 100px 5% 40px;
    font-family: 'Outfit', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--white) !important;
}

.footer-tagline {
    font-size: 1rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 10px;
    max-width: 250px;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact a {
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-badge img {
    height: 45px;
    transition: var(--transition-smooth);
    border-radius: 8px;
}

.app-badge:hover img {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05);
}

.footer-links-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
    letter-spacing: 0.5px;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col li {
    margin-bottom: 15px;
}

.footer-links-col a {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links-col a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-copyright {
    color: #666;
    font-size: 0.85rem;
}

.footer-legal-bar {
    display: flex;
    gap: 25px;
}

.footer-legal-bar a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.footer-legal-bar a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.footer-social a img {
    width: 18px;
    opacity: 0.8;
}

.footer-social a:hover {
    background: var(--accent-lime);
    transform: translateY(-3px);
}

.footer-social a:hover img {
    opacity: 1;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .footer-brand-col {
        grid-column: span 3;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand-col {
        grid-column: span 2;
    }

    .footer-bottom-flex {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-legal-bar {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand-col {
        grid-column: span 1;
    }
}

/* --- Waitlist CTA Section --- */
#waitlist-cta {
    position: relative;
    padding: 140px 0;
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.waitlist-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px !important;
}

.waitlist-title {
    font-size: 4rem;
    font-weight: 850;
    margin-bottom: 50px;
    line-height: 1.1;
    letter-spacing: -2.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.waitlist-btn-wrapper .btn {
    padding: 22px 50px;
    font-size: 1.25rem;
    font-weight: 850;
    border-radius: 18px;
    color: var(--white);
    /* Changed to white */
}

/* Categories Section */
#categories {
    background-color: var(--white);
    padding: 120px 0;
}

#categories .section-title {
    text-align: center;
    margin-bottom: 80px;
}

#categories .section-title h2 {
    font-size: 3.5rem;
    font-weight: 850;
    letter-spacing: -1.5px;
    color: var(--text-dark);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 6 columns to support both 2 and 3 items per row */
    gap: 30px;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Row 1: 3 Items */
.category-card:nth-child(1),
.category-card:nth-child(2),
.category-card:nth-child(3) {
    grid-column: span 2;
}

/* Row 2: 2 Items centered */
.category-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.category-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.category-card {
    background: #FAFAFA;
    /* Very light premium gray */
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 40px;
    /* Slightly rounder for premium feel */
    padding: 20px 20px 40px;
    /* Reduced top/side padding to focus on image */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 480px;
    position: relative;
    overflow: visible;
    text-align: center;
    /* Center text now that buttons are gone */
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 40px;
}

.category-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.category-image {
    width: 100%;
    height: 280px;
    /* Increased height */
    border-radius: 30px;
    overflow: visible;
    margin-bottom: 25px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transform: scale(1.4);
    /* Make icons massive */
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.category-card:hover .category-image img {
    transform: scale(1.5) rotate(-2deg);
}

.category-info h3 {
    font-size: 2rem;
    font-weight: 850;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -1px;
}

.category-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn-category {
    text-decoration: none;
    background-color: var(--accent-lime);
    color: var(--text-dark);
    /* Dark text for better contrast on lime */
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 800;
    font-size: 0.95rem;
    text-align: center;
    padding: 16px 32px;
    border-radius: 18px;
    display: block;
    width: fit-content;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-category:hover {
    background-color: var(--accent-lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 255, 0, 0.3);
}

@media (max-width: 1100px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card:nth-child(n) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    #categories .section-title h2 {
        font-size: 2.5rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-card {
        min-height: auto;
    }
}

/* --- Redesigned How Section --- */
.highlight-lime {
    background: var(--accent-lime);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 6px;
    display: inline-block;
}

#how-it-works {
    padding-top: 60px;
    background: #F8F9FA;
    /* Premium light grey */
}

#how-it-works .section-title h2 {
    font-size: 4.5rem;
    font-weight: 850;
    letter-spacing: -2px;
}

#how-it-works .section-title {
    margin-bottom: 0;
}

.how-card {
    background: var(--white);
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-top: 0;
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    min-height: 650px;
}

.how-visual {
    position: relative;
    background: #FFFDF8;
    /* Very subtle warm white */
    border-right: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.how-checkmark-bg {
    position: absolute;
    width: 140%;
    height: 140%;
    background: var(--accent-lime);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20,50 L40,70 L80,30' fill='none' stroke='black' stroke-width='18' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    opacity: 1;
    /* Made stronger like the reference */
    transform: rotate(-10deg) translateX(-10%);
    z-index: 1;
}

.how-person-img {
    position: relative;
    width: 85%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.05));
}

.how-content {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.how-steps-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 50px;
}

.how-step-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.how-step-num {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--accent-lime);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
}

.how-step-text h3 {
    font-size: 1.7rem;
    font-weight: 850;
    margin-bottom: 6px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.how-step-text p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.how-cta .btn-dark-pill {
    display: inline-block;
    text-decoration: none;
    background: #1A1A1A;
    color: var(--white);
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.how-cta .btn-dark-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: #000;
}

@media (max-width: 1100px) {
    .how-grid {
        grid-template-columns: 1fr;
    }

    .how-content {
        padding: 60px 40px;
    }

    .how-visual {
        height: 500px;
    }

    .how-person-img {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .how-step-item {
        gap: 20px;
    }

    .how-step-num {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .how-step-text h3 {
        font-size: 1.4rem;
    }
}

/* Card Style */
.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-10px);
}

/* FAQ Accordion */
#faq {
    background-color: #F8F9FA;
    /* Premium light grey */
    padding: 100px 5%;
}

#faq .section-title h2 {
    font-size: 4.5rem;
    font-weight: 850;
    letter-spacing: -2px;
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: fit-content;
}

.faq-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.faq-question {
    padding: 30px 40px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #5C3BDB;
    /* Brand Purple */
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background-color: #4a2fb3;
}

.faq-answer {
    padding: 0 40px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 10px 40px 40px;
    opacity: 1;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Download Redirect Page --- */
.download-page-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
}

.download-centered-icon {
    max-width: 70vw;
    width: 100%;
    text-align: center;
}

.coming-soon-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .download-centered-icon {
        max-width: 85vw;
    }
}