/* MediaScope - Professional SaaS Compliance Landing Page Styles */
/* Guatemala Market - Vanilla CSS Implementation */

/* CSS Custom Properties (Variables) */
:root {
    /* Core Brand Colors - Professional B2B SaaS */
    --primary: hsl(203, 58%, 42%);          /* #2E86AB - Corporate Blue */
    --primary-hover: hsl(203, 70%, 30%);    /* #235A75 - Darker Blue */
    --primary-light: hsl(203, 45%, 85%);    /* Light blue tint */
    --primary-foreground: hsl(0, 0%, 100%); /* Pure white */

    /* Semantic Colors */
    --background: hsl(0, 0%, 100%);         /* Pure white background */
    --foreground: hsl(210, 11%, 15%);       /* #222831 - Dark text */
    --muted: hsl(210, 20%, 96%);           /* #F8F9FA - Light gray */
    --muted-foreground: hsl(215, 16%, 47%); /* #6C757D - Medium gray */
    
    /* Professional Grays */
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(210, 11%, 15%);
    --border: hsl(214, 32%, 91%);
    --input: hsl(214, 32%, 91%);
    
    /* Trust & Security Colors */
    --success: hsl(142, 71%, 45%);          /* #28A745 - Success green */
    --success-foreground: hsl(0, 0%, 100%);
    --warning: hsl(45, 100%, 60%);          /* #FFC107 - Warning yellow */
    --error: hsl(0, 84%, 60%);              /* #DC3545 - Error red */
    --error-foreground: hsl(0, 0%, 100%);
    
    /* Guatemala-specific accent */
    --accent: hsl(203, 45%, 85%);           /* Light blue accent */
    --accent-foreground: hsl(203, 58%, 42%);
    
    /* Professional spacing */
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    
    /* Corporate gradients */
    --gradient-primary: linear-gradient(135deg, hsl(203, 58%, 42%), hsl(203, 70%, 30%));
    --gradient-hero: linear-gradient(135deg, hsl(203, 58%, 42%, 0.05), hsl(203, 45%, 85%, 0.1));
    --gradient-card: linear-gradient(145deg, hsl(0, 0%, 100%), hsl(210, 20%, 98%));
    
    /* Professional shadows */
    --shadow-soft: 0 2px 10px hsl(203, 58%, 42%, 0.08);
    --shadow-medium: 0 4px 20px hsl(203, 58%, 42%, 0.12);
    --shadow-strong: 0 8px 30px hsl(203, 58%, 42%, 0.16);
    --shadow-cta: 0 4px 15px hsl(203, 58%, 42%, 0.25);
    
    /* Animation durations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Professional typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* Utility Classes */
.container-width {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-width {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-width {
        padding: 0 2rem;
    }
}

.section-padding {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 8rem 0;
    }
}

/* Professional Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-cta);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

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

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* Professional Cards */
.professional-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--gradient-card);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
}

.professional-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

/* Trust Elements */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    background: var(--accent);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-foreground);
}

.trust-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--success);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: hsl(0, 0%, 100%, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-container {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

/* Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    color: var(--foreground);
    font-weight: 500;
    transition: color var(--transition-normal);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

/* Header CTA */
.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
}

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

.hamburger-line {
    width: 1.5rem;
    height: 2px;
    background: var(--foreground);
    transition: all var(--transition-normal);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
}

.nav-mobile.active {
    display: block;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.mobile-nav-content {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: color var(--transition-normal);
}

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

.mobile-nav-cta {
    padding: 0.75rem;
}

.mobile-nav-cta .btn-primary {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    padding: 6rem 0 4rem;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 8rem 0 6rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 10rem 0 8rem;
    }
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

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

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

.hero-subtext {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-subtext {
        font-size: 1.25rem;
    }
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid hsl(var(--border), 0.5);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Dashboard Preview */
.hero-image {
    position: relative;
}

.dashboard-container {
    position: relative;
}

.dashboard-bg-1 {
    position: absolute;
    inset: -1rem;
    background: var(--gradient-primary);
    border-radius: 1rem;
    opacity: 0.1;
    filter: blur(2rem);
}

.dashboard-bg-2 {
    position: absolute;
    inset: -0.5rem;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    opacity: 0.2;
    filter: blur(1rem);
}

.dashboard-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card);
    box-shadow: var(--shadow-medium);
}

.dashboard-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.dashboard-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success);
    color: var(--success-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.dashboard-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: hsl(0, 0%, 100%, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.dashboard-info-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.dashboard-info-subtitle {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Benefits Section */
.benefits-section {
    background: hsl(210, 20%, 96%, 0.3);
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .benefits-section {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .benefits-section {
        padding: 8rem 0;
    }
}

.benefits-grid {
    display: grid;
    gap: 2rem;
}

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

.benefit-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    background: hsl(203, 58%, 42%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background-color var(--transition-normal);
}

.benefit-card:hover .benefit-icon {
    background: hsl(203, 58%, 42%, 0.2);
}

.benefit-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.benefit-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefit-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
}

.stat-check {
    width: 1rem;
    height: 1rem;
}

/* Process Section */
.process-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

.process-header {
    text-align: center;
    margin-bottom: 3rem;
}

.process-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.process-subtitle {
    color: var(--muted-foreground);
}

.process-grid {
    display: grid;
    gap: 2rem;
}

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

.process-step {
    position: relative;
    text-align: center;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-foreground);
    font-weight: 700;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Process connector lines */
@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 1.5rem;
        left: calc(100% + 1rem);
        width: calc(100% - 2rem);
        height: 1px;
        background: var(--border);
        transform: translateY(-50%);
    }
}

/* Features Section */
.features-section {
    background: hsl(210, 20%, 96%, 0.2);
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .features-section {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .features-section {
        padding: 8rem 0;
    }
}

.features-grid {
    display: grid;
    gap: 2rem;
}

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

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

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: hsl(203, 58%, 42%, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background-color var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: hsl(203, 58%, 42%, 0.2);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.875rem;
}

.feature-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.benefit-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Integration Section */
.integration-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

.integration-header {
    text-align: center;
    margin-bottom: 3rem;
}

.integration-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.integration-subtitle {
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

.integration-grid {
    display: grid;
    gap: 1.5rem;
    text-align: center;
}

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

.integration-item {
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: hsl(var(--card), 0.5);
}

.integration-icon {
    width: 3rem;
    height: 3rem;
    background: hsl(203, 58%, 42%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
}

.integration-name {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--background);
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .testimonials-section {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .testimonials-section {
        padding: 8rem 0;
    }
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

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

.testimonial-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.quote-icon {
    width: 2rem;
    height: 2rem;
    color: hsl(203, 58%, 42%, 0.2);
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.testimonial-quote {
    color: var(--foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

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

.author-company {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.author-industry {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Industries Section */
.industries-section {
    text-align: center;
}

.industries-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.industries-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.industry-tag {
    padding: 0.5rem 1rem;
    background: hsl(203, 58%, 42%, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color var(--transition-normal);
}

.industry-tag:hover {
    background: hsl(203, 58%, 42%, 0.2);
}

/* Trust Stats */
.trust-stats {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

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

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Contact Section */
.contact-section {
    background: var(--gradient-hero);
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .contact-section {
        padding: 8rem 0;
    }
}

.contact-container {
    max-width: 64rem;
    margin: 0 auto;
}

.contact-form-container {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    max-width: 32rem;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.form-input {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--input);
    background: var(--background);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsl(203, 58%, 42%, 0.1);
}

.form-input.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px hsl(0, 84%, 60%, 0.1);
}

.form-input.success {
    border-color: var(--success);
    box-shadow: 0 0 0 3px hsl(142, 71%, 45%, 0.1);
}

.form-error {
    display: none;
    align-items: center;
    gap: 0.25rem;
    color: var(--error);
    font-size: 0.875rem;
}

.form-error.active {
    display: flex;
}

.form-error svg {
    width: 1rem;
    height: 1rem;
}

.form-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-text {
    transition: opacity var(--transition-normal);
}

.submit-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
    transition: transform var(--transition-normal);
}

.btn-primary:hover .submit-icon {
    transform: translateX(0.25rem);
}

.loading-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
    animation: spin 1s linear infinite;
    display: none;
}

.form-submit.loading .submit-text,
.form-submit.loading .submit-icon {
    display: none;
}

.form-submit.loading .loading-icon {
    display: inline-block;
}

.form-trust {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trust-check {
    width: 1rem;
    height: 1rem;
    color: var(--success);
}

/* Footer */
.footer {
    background: var(--foreground);
    color: var(--background);
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 8rem 0;
    }
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-container {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-description {
    color: hsl(0, 0%, 100%, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--background);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: hsl(0, 0%, 100%, 0.7);
    font-size: 0.875rem;
    transition: color var(--transition-normal);
}

.footer-link:hover {
    color: var(--background);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.contact-icon {
    width: 1rem;
    height: 1rem;
    color: hsl(0, 0%, 100%, 0.7);
    flex-shrink: 0;
}

.contact-item span {
    color: hsl(0, 0%, 100%, 0.7);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid hsl(0, 0%, 100%, 0.2);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

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

.footer-copyright {
    font-size: 0.875rem;
    color: hsl(0, 0%, 100%, 0.6);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.legal-link {
    color: hsl(0, 0%, 100%, 0.6);
    transition: color var(--transition-normal);
}

.legal-link:hover {
    color: var(--background);
}

.footer-trust {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(0, 0%, 100%, 0.2);
    text-align: center;
}

.trust-text {
    font-size: 0.75rem;
    color: hsl(0, 0%, 100%, 0.5);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 24rem;
}

.toast {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-strong);
    transform: translateX(100%);
    transition: transform var(--transition-normal);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--error);
}

.toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.toast-title {
    font-weight: 600;
    color: var(--foreground);
}

.toast-close {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: var(--foreground);
}

.toast-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Responsive Design Utilities */
@media (max-width: 767px) {
    .hero-headline {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefits-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .industries-list {
        flex-direction: column;
        align-items: center;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in-up,
    .fade-in-left,
    .fade-in-right {
        animation: none;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border: hsl(0, 0%, 50%);
        --muted-foreground: hsl(0, 0%, 30%);
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .contact-section {
        display: none;
    }

    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}
