/* =============================================
   KIOXX - Enterprise Kiosk Solutions
   Modern, Professional Website Styles
   ============================================= */

/* CSS Variables */
:root {
    /* Colors */
    --primary-50: #EEF2FF;
    --primary-100: #E0E7FF;
    --primary-200: #C7D2FE;
    --primary-300: #A5B4FC;
    --primary-400: #818CF8;
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --primary-700: #4338CA;
    --primary-800: #3730A3;
    --primary-900: #312E81;

    --purple-500: #8B5CF6;
    --purple-600: #7C3AED;

    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-subtle: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
    --gradient-dark: linear-gradient(135deg, #1F2937 0%, #111827 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --section-padding: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Borders */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-600);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg), 0 0 20px 0 rgba(79, 70, 229, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
}

.btn-ghost:hover {
    background: var(--gray-100);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-subtle);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.hero-content {
    flex: 1;
    max-width: 640px;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--gray-200);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.hero-image {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    display: flex;
    justify-content: center;
}

/* Kiosk Visual Components */
.kiosk-showcase {
    position: relative;
    width: 400px;
    height: 500px;
}

.kiosk {
    position: absolute;
    transition: var(--transition-slow);
}

.kiosk-standalone {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.kiosk-standalone .kiosk-screen {
    width: 200px;
    height: 280px;
    background: var(--gray-900);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-2xl);
}

.kiosk-standalone .kiosk-stand {
    width: 40px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gray-700), var(--gray-800));
    margin: 0 auto;
}

.kiosk-standalone .kiosk-base {
    width: 120px;
    height: 15px;
    background: var(--gray-800);
    border-radius: var(--radius);
    margin: 0 auto;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.screen-header {
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
}

.screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    flex: 1;
}

.grid-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
}

.kiosk-tablet {
    left: 10%;
    bottom: 20%;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.kiosk-tablet .kiosk-screen {
    width: 100px;
    height: 140px;
    background: var(--gray-800);
    border-radius: var(--radius);
    padding: 0.5rem;
    box-shadow: var(--shadow-xl);
}

.kiosk-tablet .screen-content {
    background: white;
    padding: 0.5rem;
}

.screen-text {
    height: 40%;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
}

.screen-btn {
    height: 20px;
    background: var(--primary-500);
    border-radius: var(--radius-sm);
    margin-top: auto;
}

.kiosk-wall {
    right: 10%;
    top: 20%;
    z-index: 1;
    animation: float 6s ease-in-out infinite 2s;
}

.kiosk-wall .kiosk-screen {
    width: 140px;
    height: 180px;
    background: var(--gray-700);
    border-radius: var(--radius);
    padding: 0.75rem;
    box-shadow: var(--shadow-xl);
}

.kiosk-wall .screen-content {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.screen-chart {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* =============================================
   TRUSTED BY SECTION
   ============================================= */

.trusted-by {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid var(--gray-100);
}

.trusted-label {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.client-logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-400);
    opacity: 0.8;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
    color: var(--gray-500);
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--gradient-subtle);
    border-color: var(--primary-200);
}

.product-image {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.product-visual {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-kiosk {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.visual-kiosk .v-screen {
    width: 100px;
    height: 140px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.visual-kiosk .v-body {
    width: 20px;
    height: 40px;
    background: var(--gray-600);
}

.visual-kiosk .v-base {
    width: 60px;
    height: 8px;
    background: var(--gray-700);
    border-radius: var(--radius-sm);
}

.visual-wall-mount {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.visual-wall-mount .v-bracket {
    width: 30px;
    height: 10px;
    background: var(--gray-600);
    margin-bottom: -5px;
}

.visual-wall-mount .v-screen {
    width: 80px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.visual-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.visual-counter .v-screen {
    width: 60px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transform: rotate(-10deg);
}

.visual-counter .v-stand {
    width: 40px;
    height: 20px;
    background: var(--gray-600);
    margin-top: -5px;
    border-radius: var(--radius-sm);
}

.visual-outdoor {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.visual-outdoor .v-screen {
    width: 70px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.visual-outdoor .v-housing {
    width: 90px;
    height: 40px;
    background: var(--gray-700);
    border-radius: var(--radius);
    margin-top: -20px;
}

.product-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.product-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-600);
    background: var(--primary-100);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.product-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.product-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-features li {
    font-size: 0.9375rem;
    color: var(--gray-600);
    padding-left: 1.5rem;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

/* Hardware Grid */
.hardware-section {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.hardware-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 2rem;
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hardware-item {
    text-align: center;
}

.hardware-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-md);
}

.hardware-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-600);
}

.hardware-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.hardware-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* =============================================
   SOLUTIONS SECTION
   ============================================= */

.solutions {
    background: var(--gray-50);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.solution-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.solution-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent, var(--primary-600));
}

.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.solution-card > p {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.solution-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.solution-bullets li {
    font-size: 0.875rem;
    color: var(--gray-500);
    padding-left: 1.25rem;
    position: relative;
}

.solution-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent, var(--primary-600));
}

.solutions-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.solutions-cta p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* =============================================
   INDUSTRIES SECTION
   ============================================= */

.industries-showcase {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.industry-tab-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.industry-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.industry-tab svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.industry-tab:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.industry-tab.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.industry-content {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.industry-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.industry-panel.active {
    display: grid;
}

.panel-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.panel-lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.panel-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.panel-features li {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.panel-features li strong {
    color: var(--gray-900);
}

.panel-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
}

/* =============================================
   API SECTION
   ============================================= */

.api {
    background: var(--gray-900);
    color: white;
}

.api .section-tag {
    color: var(--primary-400);
}

.api .section-title {
    color: white;
}

.api .section-subtitle {
    color: var(--gray-400);
}

.api-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.api-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.api-feature {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-400);
}

.api-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.api-feature p {
    font-size: 0.9375rem;
    color: var(--gray-400);
}

.api-cta {
    display: flex;
    gap: 1rem;
}

.api .btn-outline {
    border-color: var(--gray-600);
    color: white;
}

.api .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Code Window */
.code-window {
    background: #1a1b26;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #16171f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f56; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27c93f; }

.code-title {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.code-content {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-content code {
    display: block;
    color: #a9b1d6;
}

.code-comment { color: #565f89; }
.code-keyword { color: #bb9af7; }
.code-string { color: #9ece6a; }
.code-property { color: #7dcfff; }

/* =============================================
   WHY KIOXX SECTION
   ============================================= */

.why-kioxx {
    background: var(--gradient-subtle);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.advantage-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.advantage-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.demo-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row:last-of-type {
    grid-template-columns: 1fr;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.demo-form textarea {
    resize: vertical;
    min-height: 100px;
}

.demo-form button {
    margin-top: 0.5rem;
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-600);
}

.contact-method strong {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.contact-method span {
    font-size: 1.125rem;
    color: var(--gray-900);
}

.contact-form-wrapper {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    background: white;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: white;
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */

@media (max-width: 1280px) {
    .hero-image {
        right: -10%;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-image {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-showcase {
        grid-template-columns: 1fr;
    }

    .industry-tab-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .industry-tab {
        flex: 0 0 auto;
    }

    .industry-panel {
        grid-template-columns: 1fr;
    }

    .api-content {
        grid-template-columns: 1fr;
    }

    .api-visual {
        order: -1;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .hardware-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .demo-form {
        padding: 1.5rem;
    }

    .hardware-grid {
        grid-template-columns: 1fr;
    }

    .industry-tab {
        width: 100%;
    }

    .code-content {
        font-size: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-image,
    .cta-section,
    .demo-form,
    .contact-form-wrapper,
    .mobile-menu-btn,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: black;
    }

    .section {
        page-break-inside: avoid;
    }
}
