/* assets/css/style.css - Red & Black Theme for Aim Storm */

:root {
    /* Red & Black Color System */
    --color-primary: #D41414;
    --color-primary-light: #E21221;
    --color-primary-dark: #B01010;
    --color-accent: #FF4444;
    --color-success: #22C55E;
    --color-charcoal: #0A0A0A;
    --color-black: #000000;
    --color-slate: #1A1A1A;
    --color-slate-light: #242424;
    --color-neutral-100: #FFFFFF;
    --color-neutral-200: #E5E5E5;
    --color-neutral-300: #999999;
    --color-neutral-400: #666666;
    --color-neutral-500: #333333;
    
    /* Typography */
    --font-heading: 'Saira', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: clamp(0.5rem, 1vw, 0.75rem);
    --space-sm: clamp(0.75rem, 1.5vw, 1rem);
    --space-md: clamp(1rem, 2vw, 1.5rem);
    --space-lg: clamp(1.5rem, 3vw, 2rem);
    --space-xl: clamp(2rem, 4vw, 3rem);
    --space-2xl: clamp(3rem, 6vw, 4rem);
    --space-3xl: clamp(4rem, 8vw, 6rem);
    
    /* Sizing */
    --container-max: 1280px;
    --container-padding: var(--space-md);
    
    /* Animation */
    --transition-base: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(212, 20, 20, 0.4);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Z-index */
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 20;
    --z-overlay: 30;
    --z-modal: 40;
    --z-top: 50;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-neutral-100);
    background-color: var(--color-charcoal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography continued */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }
}

/* Section */
.section {
    padding: var(--space-3xl) 0;
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section__title {
    margin-bottom: var(--space-sm);
}

.section__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-neutral-300);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
}

.btn--primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 20, 20, 0.4);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 20, 20, 0.3);
}

.btn--secondary:hover {
    background: rgba(212, 20, 20, 0.2);
    transform: translateY(-2px);
    border-color: var(--color-primary);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn--full {
    width: 100%;
}

/* Cards */
.card {
    background: linear-gradient(135deg, var(--color-slate), var(--color-slate-light));
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid rgba(212, 20, 20, 0.1);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(212, 20, 20, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 20, 20, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card__icon {
    margin-bottom: var(--space-md);
}

.card__title {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.card__text {
    color: var(--color-neutral-300);
    margin-bottom: var(--space-md);
}

.card__link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-base);
}

.card__link:hover {
    gap: 0.75rem;
    color: var(--color-primary-light);
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 20, 20, 0.1);
}

.header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.header__toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all var(--transition-base);
}

.header__menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.header__link {
    color: var(--color-neutral-300);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-base);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.header__link:hover,
.header__link--active {
    color: white;
}

.header__link:hover::after,
.header__link--active::after {
    width: 100%;
}

.header__whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    transition: all var(--transition-smooth);
}

.header__whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-2xl) 0;
}

.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero__particles::before,
.hero__particles::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s infinite ease-in-out;
}

.hero__particles::before {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(212, 20, 20, 0.3), transparent);
}

.hero__particles::after {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(212, 20, 20, 0.2), transparent);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    margin-bottom: var(--space-lg);
}

.hero__title-line {
    display: block;
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.9));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s infinite;
}

.hero__title-line--accent {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--color-neutral-200);
    margin-bottom: var(--space-xl);
    line-height: 1.5;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* KPI Cards */
.proof-stack {
    background: linear-gradient(135deg, var(--color-slate), var(--color-slate-light));
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid rgba(212, 20, 20, 0.1);
}

.proof-stack__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.kpi-card {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 20, 20, 0.1);
    transition: all var(--transition-smooth);
}

.kpi-card:hover {
    background: rgba(212, 20, 20, 0.05);
    transform: scale(1.05);
    border-color: var(--color-primary);
}

.kpi-card__value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-xs);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kpi-card__label {
    color: var(--color-neutral-300);
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.kpi-card__trend {
    color: var(--color-success);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Case Carousel */
.case-carousel {
    position: relative;
}

.case-carousel__track {
    position: relative;
    min-height: 150px;
}

.case-snippet {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.case-snippet--active {
    opacity: 1;
    visibility: visible;
}

.case-snippet__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(212, 20, 20, 0.2);
    color: var(--color-primary-light);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.case-snippet__text {
    font-size: 1.125rem;
    color: var(--color-neutral-200);
    margin-bottom: var(--space-sm);
    font-style: italic;
}

.case-snippet__meta {
    color: var(--color-neutral-400);
    font-size: 0.875rem;
}

.case-snippet__meta strong {
    color: var(--color-neutral-300);
}

.case-carousel__dots {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.dot--active {
    width: 24px;
    border-radius: 4px;
    background: var(--color-primary);
}

/* Methodology Section */
.methodology {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.methodology__step {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 20, 20, 0.1);
    transition: all var(--transition-smooth);
}

.methodology__step:hover {
    background: linear-gradient(135deg, rgba(212, 20, 20, 0.1), rgba(212, 20, 20, 0.05));
    transform: translateX(4px);
    border-color: var(--color-primary);
}

.methodology__number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.7;
}

.methodology__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.methodology__text {
    color: var(--color-neutral-300);
    margin: 0;
}

/* Forms */
.form {
    max-width: 500px;
}

.form__group {
    position: relative;
    margin-bottom: var(--space-lg);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 20, 20, 0.2);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 20, 20, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* CTA Sections */
.cta-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    background: linear-gradient(135deg, var(--color-slate), var(--color-slate-light));
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(212, 20, 20, 0.1);
}

@media (max-width: 768px) {
    .cta-block {
        grid-template-columns: 1fr;
    }
}

.cta-block__title {
    margin-bottom: var(--space-md);
}

.cta-block__subtitle {
    font-size: 1.125rem;
    color: var(--color-neutral-300);
    margin-bottom: var(--space-lg);
}

.cta-block__benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.benefit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-neutral-200);
}

.benefit__icon {
    color: var(--color-success);
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--color-black);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-3xl);
    border-top: 1px solid rgba(212, 20, 20, 0.1);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer__title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__links a {
    color: var(--color-neutral-300);
    transition: color var(--transition-base);
}

.footer__links a:hover {
    color: var(--color-primary);
}

.footer__contact {
    font-style: normal;
    color: var(--color-neutral-300);
}

.footer__contact p {
    margin-bottom: var(--space-md);
}

.footer__phone {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Newsletter */
.footer-newsletter {
    padding: var(--space-xl) 0;
    margin: var(--space-xl) 0;
    border-top: 1px solid rgba(212, 20, 20, 0.1);
    border-bottom: 1px solid rgba(212, 20, 20, 0.1);
}

.newsletter-form {
    text-align: center;
}

.newsletter-form h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.newsletter-input-group {
    display: flex;
    gap: var(--space-sm);
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
    }
}

.footer__bottom {
    text-align: center;
    color: var(--color-neutral-400);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 1.5rem;
    background: #25D366;
    color: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-smooth);
}

.fab:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.fab__text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width var(--transition-smooth);
}

.fab:hover .fab__text {
    max-width: 200px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1 {
    transition-delay: 0.1s;
}

.reveal--delay-2 {
    transition-delay: 0.2s;
}

.reveal--stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal--stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal--stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal--stagger.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.reveal--stagger.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.reveal--stagger.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.reveal--stagger.revealed > *:nth-child(6) { transition-delay: 0.3s; }

/* About Page Specific */
.timeline {
    position: relative;
    padding-left: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-2xl);
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 4px solid var(--color-black);
    box-shadow: 0 0 0 8px rgba(212, 20, 20, 0.2);
}

.timeline__year {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.timeline__content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.timeline__content p {
    color: var(--color-neutral-300);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.team-member {
    text-align: center;
}

.team-member__image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    object-fit: cover;
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(212, 20, 20, 0.3);
    transition: all var(--transition-smooth);
}

.team-member:hover .team-member__image {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(212, 20, 20, 0.5);
}

.team-member__name {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.team-member__role {
    color: var(--color-neutral-400);
}

/* Responsive */
@media (max-width: 768px) {
    .header__toggle {
        display: flex;
    }
    
    .header__menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-black);
        flex-direction: column;
        padding: var(--space-xl);
        transform: translateX(-100%);
        transition: transform var(--transition-smooth);
    }
    
    .header__menu.active {
        transform: translateX(0);
    }
    
    .header__whatsapp {
        width: 36px;
        height: 36px;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .btn--large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .proof-stack__grid {
        grid-template-columns: 1fr;
    }
    
    .methodology {
        grid-template-columns: 1fr;
    }
    
    .fab__text {
        display: none;
    }
}
/* Reduce excessive section padding */
.section {
    padding: var(--space-2xl) 0; /* Reduced from 3xl */
}

/* Hero section adjustments */
.hero {
    min-height: 70vh; /* Reduced from 90vh */
    padding: var(--space-xl) 0; /* Reduced padding */
}

.hero__content {
    max-width: 900px; /* Increased for better text distribution */
}

.hero__title {
    margin-bottom: var(--space-md); /* Reduced spacing */
    line-height: 1.1; /* Tighter line height */
}

.hero__subtitle {
    margin-bottom: var(--space-lg); /* Reduced from xl */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    margin-top: var(--space-lg); /* Consistent spacing */
}

/* Section headers */
.section__header {
    margin-bottom: var(--space-xl); /* Reduced from 2xl */
}

.section__title {
    margin-bottom: var(--space-xs); /* Reduced spacing */
    line-height: 1.2;
}

.section__subtitle {
    max-width: 700px; /* Better width for readability */
    line-height: 1.5;
}

/* Card grid adjustments */
.grid {
    gap: var(--space-md); /* Reduced from lg */
}

.card {
    padding: var(--space-md); /* Reduced from lg */
}

.card__title {
    font-size: 1.25rem; /* Slightly smaller */
    margin-bottom: var(--space-xs);
}

.card__text {
    margin-bottom: var(--space-sm); /* Reduced spacing */
    line-height: 1.5;
}

/* KPI Section */
.proof-stack {
    padding: var(--space-xl); /* Reduced from 2xl */
}

.proof-stack__grid {
    margin-bottom: var(--space-xl); /* Reduced from 2xl */
    gap: var(--space-md);
}

.kpi-card {
    padding: var(--space-md); /* Reduced from lg */
}

.kpi-card__value {
    font-size: clamp(1.75rem, 3vw, 2.5rem); /* Slightly smaller */
    margin-bottom: 0;
}

/* Methodology section */
.methodology {
    gap: var(--space-md); /* Reduced spacing */
}

.methodology__step {
    padding: var(--space-md); /* Reduced from lg */
}

.methodology__number {
    font-size: 1.5rem; /* Reduced from 2rem */
}

.methodology__title {
    font-size: 1.125rem; /* Slightly smaller */
}

/* Footer adjustments */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg); /* Reduced padding */
    margin-top: var(--space-2xl); /* Reduced from 3xl */
}

.footer__grid {
    gap: var(--space-lg); /* Reduced from 2xl */
    margin-bottom: var(--space-lg);
}

.footer-newsletter {
    padding: var(--space-lg) 0; /* Reduced padding */
    margin: var(--space-lg) 0;
}

/* Team grid for About page */
.team-grid {
    gap: var(--space-lg); /* Reduced from xl */
    max-width: 1000px;
    margin: 0 auto;
}

.team-member__image {
    width: 120px; /* Reduced from 150px */
    height: 120px;
    margin-bottom: var(--space-sm);
}

/* Timeline adjustments */
.timeline__item {
    padding-bottom: var(--space-xl); /* Reduced from 2xl */
}

/* Container width adjustment for better content distribution */
.container {
    max-width: 1200px; /* Slightly reduced for better readability */
}

/* Remove unnecessary margins */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

/* Better header spacing */
.header {
    padding: 0.75rem 0;
}

.header__nav {
    padding: 0;
}

/* CTA block adjustments */
.cta-block {
    padding: var(--space-xl); /* Reduced from 2xl */
    gap: var(--space-xl); /* Reduced from 2xl */
}

/* Form spacing */
.form__group {
    margin-bottom: var(--space-md); /* Reduced from lg */
}

/* Better image aspect ratios */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section {
        padding: var(--space-xl) 0;
    }
    
    .hero {
        min-height: 60vh;
        padding: var(--space-lg) 0;
    }
    
    .grid {
        gap: var(--space-sm);
    }
    
    .card {
        padding: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--space-lg) 0;
    }
    
    .hero {
        min-height: 50vh;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
}

/* Remove excessive vertical margins throughout */
* + * {
    margin-top: 0;
}

/* Ensure consistent spacing between major sections */
.section + .section {
    margin-top: 0;
}

/* Better paragraph spacing in content areas */
.card p,
.cta-block p,
.methodology__text {
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Tighten up list spacing */
ul, ol {
    margin: var(--space-sm) 0;
    padding-left: var(--space-lg);
}

li {
    margin-bottom: var(--space-xs);
}

/* Fix button alignment */
.btn {
    display: inline-flex;
    white-space: nowrap;
}

.hero__actions .btn {
    min-width: 200px;
    justify-content: center;
}
/* ========================================
   SPACING & ALIGNMENT FIXES
   Add this section at the end of style.css
   ======================================== */

/* Override excessive spacing */
.section {
    padding: 3rem 0 !important;
}

.hero {
    min-height: 70vh !important;
    padding: 2rem 0 !important;
}

.section__header {
    margin-bottom: 2rem !important;
}

.grid {
    gap: 1.5rem !important;
}

.card {
    padding: 1.5rem !important;
}

.proof-stack {
    padding: 2rem !important;
}

.footer {
    padding: 3rem 0 2rem !important;
    margin-top: 3rem !important;
}

/* Remove extra space between sections */
section + section {
    margin-top: 0 !important;
}

/* Tighten hero content */
.hero__title {
    margin-bottom: 1rem !important;
}

.hero__subtitle {
    margin-bottom: 1.5rem !important;
}

/* Better mobile spacing */
@media (max-width: 768px) {
    .section {
        padding: 2rem 0 !important;
    }
    
    .hero {
        min-height: 50vh !important;
    }
}