/* ===================================
   ALLO NESTOR - PREMIUM DESIGN SYSTEM
   =================================== */

/* CSS Variables - Design Tokens */
:root {
    /* Colors - Vibrant & Welcoming Palette */
    --color-primary: #FF6B35;
    --color-primary-light: #FF8C42;
    --color-primary-dark: #E85A2E;
    --color-secondary: #2B6CB0;
    --color-secondary-light: #3B82F6;
    --color-accent: #10B981;
    --color-accent-light: #34D399;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 20;
    --z-fixed: 30;
    --z-modal: 40;
    --z-popover: 50;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-8);
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: absolute;
    /* Changed from fixed to absolute to sit on top of hero */
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background-color: transparent;
    /* Transparent background */
    box-shadow: none;
    /* No shadow */
    padding-top: var(--space-4);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    /* Becomes fixed on scroll */
    padding-top: 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left align logo */
    height: 80px;
}

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

.logo-img-premium {
    height: 45px;
    width: auto;
    display: block;
}

@media (min-width: 768px) {
    .logo-img-premium {
        height: 55px;
    }
}

.nav-links {
    display: none !important;
}

.mobile-menu-toggle {
    display: none !important;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--color-gray-700);
    transition: color var(--transition-base);
    position: relative;
}

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

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-2);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-gray-800);
    transition: all var(--transition-base);
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(255, 107, 53, 0.39);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.23);
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-secondary {
    background-color: var(--color-gray-100);
    color: var(--color-gray-800);
}

.btn-secondary:hover {
    background-color: var(--color-gray-200);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Default for mobile/smaller screens */
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 0;
        /* Remove padding to allow overlap and true viewport centering */
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(rgba(255, 107, 53, 0.4), rgba(255, 107, 53, 0.4)),
        url('../assets/images/AlloNestor-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Removed hero shapes to focus on the new background image */

@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 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    /* Reduced gap */
    align-items: center;
    position: relative;
    z-index: 2;
    padding: var(--space-4) 0;
    /* Reduced padding */
    height: 100%;
    /* Full height */
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1.2fr 0.8fr;
        min-height: 100vh;
        gap: var(--space-12);
        padding: 0;
        /* Full height centering */
        align-items: center;
    }
}

.hero-text {
    max-width: 650px;
    z-index: 5;
    text-align: left;
}

/* Mobile Layout Optimization */
@media (max-width: 1023px) {
    .hero {
        align-items: flex-start;
        padding-top: 60px;
        /* Reduced top padding */
        height: 100dvh;
        /* Fill viewport exactly */
        min-height: auto;
    }

    .container {
        height: 100%;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        /* Distribute space */
        height: 100%;
        padding-bottom: 20px;
    }

    .hero-text {
        display: contents;
        /* Flattens the div to reorder children */
    }

    .hero-title {
        order: 1;
        /* Title first */
        text-align: center;
        font-size: 1.75rem;
        /* Compact size */
        margin-bottom: 0;
        width: 100%;
        color: var(--color-white) !important;
        /* Ensure visibility */
    }

    .hero-subtitle {
        display: none;
        /* Hide subtitle on mobile to save space */
    }

    .hero-image-v2 {
        order: 2;
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        max-height: 35vh;
        margin: 0;
        width: 100%;
    }

    .mascot-static {
        max-height: 100%;
        width: auto;
        object-fit: contain;
    }



    .hero-cta-box {
        order: 3;
        width: 100%;
        margin-bottom: 0;
        padding: var(--space-4);
        flex: 0 0 auto;
    }

    .hero-title {
        order: 1;
        text-align: center;
        font-size: 1.75rem;
        margin-bottom: 0;
        margin-top: 60px;
        /* Increased space to push title down */
        width: 100%;
        color: var(--color-white) !important;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-4);
    text-align: left;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--color-gray-600);
    margin-bottom: var(--space-10);
    text-align: left;
}

/* Simplified Hero Form */
.hero-cta-box {
    background-color: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    width: 100%;
    border: 1px solid var(--color-gray-100);
}

.cta-box-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-gray-900);
    margin: 0;
    text-align: left;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .cta-box-title {
        font-size: var(--text-3xl);
    }
}

.hero-form-simple {
    display: flex;
    flex-direction: row;
    /* Horizontal by default for mobile */
    align-items: center;
    gap: var(--space-2);
    width: 100%;
}

@media (min-width: 640px) {
    .hero-form-simple {
        gap: var(--space-4);
        flex-direction: row;
        /* Ensure it stays row */
        align-items: flex-end;
    }
}

.simple-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-700);
    text-align: left;
}

.form-select-simple,
.form-input-simple {
    width: 100%;
    padding: var(--space-4);
    padding-right: var(--space-4);
    font-size: var(--text-sm);
    /* Slightly smaller by default */
    font-family: var(--font-primary);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    background-color: var(--color-white);
    color: var(--color-gray-900);
    transition: all var(--transition-base);
    outline: none;
    text-overflow: ellipsis;
    height: 60px;
    /* Match button height explicitly */
}

@media (min-width: 768px) {

    .form-select-simple,
    .form-input-simple {
        font-size: var(--text-base);
    }
}

.form-select-simple {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
    /* More room for the arrow */
}

.form-select-simple:focus,
.form-input-simple:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-group-simple {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
    /* Take remaining space */
    min-width: 0;
    /* Allow shrinking below content size */
}

/* ... existing group-zip styles ... */

.btn-submit-wide {
    width: auto;
    height: 60px;
    padding: 0 var(--space-4);
    /* Reduced horizontal padding */
    font-size: var(--text-sm);
    /* Smaller text on mobile to fit */
    white-space: nowrap;
}

.btn-submit-wide svg {
    display: none;
    /* Hide icon on mobile to save space if needed, or keep it */
}

@media (min-width: 640px) {
    .btn-submit-wide {
        min-width: unset;
        /* Remove fixed min-width */
        padding: var(--space-4) var(--space-8);
        font-size: var(--text-base);
    }

    .btn-submit-wide svg {
        display: block;
    }
}

.btn-how-works {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: none;
    border: none;
    color: var(--color-gray-500);
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition-base);
    font-size: var(--text-base);
    margin-top: var(--space-2);
    width: fit-content;
}

.btn-how-works:hover {
    color: var(--color-primary);
}

/* Stats Styling */
/* Stats Styling */
.hero-stats {
    display: flex;
    justify-content: center;
    /* Center horizontally */
    gap: var(--space-8);
    margin-top: var(--space-8);
    width: 100%;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    align-items: center;
    /* Center text inside each stat */
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
    /* Back to orange */
    opacity: 0.8;
    /* Slight fade but still colorful */
}

.stat-label {
    font-size: var(--text-xs);
    /* Smaller label */
    color: var(--color-gray-400);
    font-weight: 500;
}

/* Image & Mascot Layout */
.hero-image-v2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot-static {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

@media (min-width: 1024px) {
    .mascot-static {
        margin-top: 0;
        /* Centered naturally by grid alignment */
    }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--color-white);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: 10;
}

.badge-1 {
    top: 15%;
    left: -10%;
}

.badge-2 {
    bottom: 10%;
    right: -5%;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--color-gray-900);
    margin: 0;
}

.badge-status {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    margin: 0;
}

.badge-icon {
    font-size: var(--text-xl);
}

.badge-check {
    width: 24px;
    height: 24px;
    background: #10B981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

@media (max-width: 1023px) {
    .floating-badge {
        display: none;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-6);
    }

    .hero-title,
    .hero-subtitle {
        text-align: center;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   SECTION HEADERS
   =================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--color-secondary-light);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--text-4xl);
    }
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */

.how-it-works {
    padding: var(--space-20) 0;
    background-color: var(--color-white);
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-8);
    }
}

.step {
    position: relative;
    padding: var(--space-8);
    background-color: var(--color-gray-50);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background-color: var(--color-white);
}

.step-number {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-gray-200);
}

.step-icon {
    margin-bottom: var(--space-6);
}

.step-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
}

.step-description {
    color: var(--color-gray-600);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-gray-700);
    font-weight: 500;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    position: relative;
    padding: var(--space-6);
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    border: 2px solid var(--color-gray-100);
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.service-title {
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--color-gray-900);
    margin-bottom: var(--space-2);
}

.service-description {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    margin-bottom: var(--space-4);
}

.service-arrow {
    display: inline-block;
    color: var(--color-primary);
    font-size: var(--text-xl);
    font-weight: 700;
    transition: transform var(--transition-base);
}

.service-card:hover .service-arrow {
    transform: translateX(4px);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials {
    padding: var(--space-20) 0;
    background-color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: var(--space-8);
    background-color: var(--color-gray-50);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background-color: var(--color-white);
}

.testimonial-rating {
    margin-bottom: var(--space-4);
}

.star {
    color: #FFC107;
    font-size: var(--text-lg);
}

.testimonial-text {
    font-size: var(--text-base);
    color: var(--color-gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary-light) 100%);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
}

.author-name {
    font-weight: 600;
    color: var(--color-gray-900);
}

.author-location {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: var(--z-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .cta-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cta-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .cta-title {
        font-size: var(--text-4xl);
    }
}

.cta-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    padding: var(--space-20) 0 var(--space-8);
    background-color: var(--color-gray-900);
    color: var(--color-gray-300);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-4);
}

/* .footer-logo-img removed */

.footer-description {
    color: var(--color-gray-400);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-4);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-gray-800);
    border-radius: var(--radius-lg);
    color: var(--color-gray-400);
    transition: all var(--transition-base);
}

.social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer-title {
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: var(--color-gray-400);
    transition: color var(--transition-base);
}

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

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-gray-800);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    color: var(--color-gray-500);
    font-size: var(--text-sm);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}