/* ============================================
   InstantXS Inc - Modern Website Styles
   Color Palette from Brand Guidelines
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Colors */
    --primary-blue: #1791E8;
    --primary-blue-dark: #1478c2;
    --primary-blue-light: #3aa3ec;
    
    /* Accent Colors */
    --accent-orange: #FF6B35;
    --accent-orange-dark: #e55a28;
    --accent-green: #10B981;
    
    /* Neutral Colors */
    --text-dark: #1A1A1A;
    --text-secondary: #2A2A2A;
    --text-muted: #5A6A7A;
    --text-light: #8A9AAA;
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-blue-light: #F0F7FC;
    --bg-blue-lighter: #E8F4FC;
    --bg-peach: #FFF5F0;
    --bg-gray: #F1F5F9;
    
    /* Border Colors */
    --border-light: #E2E8F0;
    --border-blue: #D0E3F0;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-blue-dark);
}

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

/* ============================================
   Preloader
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--bg-blue-lighter);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo span {
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-dark);
    background: var(--bg-gray);
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--bg-white);
    background: var(--primary-blue);
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px rgba(23, 145, 232, 0.3);
}

.nav-cta:hover {
    background: var(--primary-blue-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 145, 232, 0.4);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-blue-lighter) 50%, var(--bg-white) 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(23, 145, 232, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-blue-lighter);
    border: 1px solid var(--border-blue);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    max-width: 800px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    max-width: 600px;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-partner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.hero-partner img {
    height: 48px;
    width: auto;
}

.hero-partner-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-partner-text strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    color: var(--bg-white);
    background: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(23, 145, 232, 0.3);
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 145, 232, 0.4);
}

.btn-secondary {
    color: var(--text-dark);
    background: var(--bg-white);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline {
    color: var(--primary-blue);
    background: transparent;
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-blue-lighter);
    color: var(--primary-blue);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ============================================
   Services Grid
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 32px;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-blue);
    transition: height var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:nth-child(2)::before { background: var(--accent-orange); }
.service-card:nth-child(3)::before { background: var(--accent-green); }
.service-card:nth-child(4)::before { background: #8B5CF6; }

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-blue-lighter);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.service-card:nth-child(2) .service-icon {
    background: var(--bg-peach);
    color: var(--accent-orange);
}

.service-card:nth-child(3) .service-icon {
    background: #ECFDF5;
    color: var(--accent-green);
}

.service-card:nth-child(4) .service-icon {
    background: #F3F0FF;
    color: #8B5CF6;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.service-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Feature Sections
   ============================================ */
.feature-section {
    padding: var(--section-padding) 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.feature-content {
    max-width: 520px;
}

.feature-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-blue-lighter);
    color: var(--primary-blue);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 16px;
}

.feature-title {
    margin-bottom: 20px;
}

.feature-text {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-blue-lighter);
    border-radius: 10px;
    color: var(--primary-blue);
}

.feature-list-icon svg {
    width: 20px;
    height: 20px;
}

.feature-list-content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-list-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

.feature-visual {
    position: relative;
}

.feature-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 24px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

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

.feature-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-blue-lighter);
    border-radius: 12px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.feature-card-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Alternate colors for cards */
.feature-card.orange .feature-card-icon {
    background: var(--bg-peach);
    color: var(--accent-orange);
}

.feature-card.green .feature-card-icon {
    background: #ECFDF5;
    color: var(--accent-green);
}

.feature-card.purple .feature-card-icon {
    background: #F3F0FF;
    color: #8B5CF6;
}

/* ============================================
   Use Cases Section
   ============================================ */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.use-case-card {
    padding: 32px;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--transition-base);
}

.use-case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.use-case-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-blue-lighter);
    border-radius: 16px;
    color: var(--primary-blue);
    margin: 0 auto 20px;
}

.use-case-icon svg {
    width: 32px;
    height: 32px;
}

.use-case-card h4 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.use-case-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   Migration Strategy Section
   ============================================ */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.strategy-card {
    position: relative;
    padding: 32px;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.strategy-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.strategy-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-blue-lighter);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.strategy-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding-right: 40px;
}

.strategy-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-blue-lighter) 0%, var(--bg-peach) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-blue-lighter) 100%);
}

.contact-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding: 40px;
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-blue-lighter);
    border-radius: 12px;
    color: var(--primary-blue);
}

.contact-detail-icon svg {
    width: 24px;
    height: 24px;
}

.contact-detail-content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-detail-content p,
.contact-detail-content a {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-detail-content a {
    color: var(--primary-blue);
}

.help-topics {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 24px;
}

.help-topics h3 {
    margin-bottom: 24px;
}

.help-topic {
    display: block;
    padding: 20px 24px;
    background: var(--bg-white);
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all var(--transition-base);
}

.help-topic:last-child {
    margin-bottom: 0;
}

.help-topic:hover {
    transform: translateX(8px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.help-topic h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.help-topic h4 svg {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
    transition: transform var(--transition-fast);
}

.help-topic:hover h4 svg {
    transform: translateX(4px);
}

.help-topic p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   Legal Pages (Privacy, Terms)
   ============================================ */
.legal-hero {
    padding: 160px 0 60px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-blue-lighter) 100%);
    text-align: center;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-blue-lighter);
}

.legal-content h3 {
    font-size: 1.125rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--text-muted);
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.legal-content li strong {
    color: var(--text-dark);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand h3 span {
    color: var(--primary-blue);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        gap: 40px;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .strategy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        padding: 24px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-visual {
        order: -1;
    }
    
    .feature-card-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
