/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #059669;
    --accent-color: #0ea5e9;
    --warning-color: #d97706;
    --danger-color: #dc2626;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-accent: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 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: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

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

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* ===== Section Styles ===== */
section {
    padding: var(--section-padding);
}

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

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

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

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    object-fit: contain;
    background: transparent;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--white);
    top: -200px;
    right: -100px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: -100px;
    left: -100px;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    top: 50%;
    left: 30%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #fbbf24;
}

.hero-title {
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-description strong {
    color: #38bdf8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Phone Mockup */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: var(--gray-900);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-2xl);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: var(--gray-800);
    border-radius: 20px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    border-radius: 32px;
    padding: 50px 16px 16px;
    overflow: hidden;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

.app-user {
    font-size: 1.5rem;
    color: var(--gray-400);
}

.app-welcome {
    margin-bottom: 20px;
}

.app-welcome span {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.app-welcome strong {
    font-size: 1.25rem;
    color: var(--gray-900);
}

.app-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    padding: 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    color: var(--white);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-info {
    flex: 1;
}

.card-info span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.card-info strong {
    font-size: 0.875rem;
}

.card-status {
    font-size: 1.25rem;
}

.card-status.active {
    color: #34d399;
}

.app-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.menu-item {
    background: var(--white);
    padding: 16px 12px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 1.125rem;
}

.menu-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
}

.menu-icon.green {
    background: rgba(5, 150, 105, 0.1);
    color: var(--secondary-color);
}

.menu-icon.orange {
    background: rgba(217, 119, 6, 0.1);
    color: var(--warning-color);
}

.menu-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.menu-item span {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
}

.phone-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.25rem;
}

.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.card-1 i {
    color: var(--secondary-color);
}

.card-2 {
    bottom: 30%;
    left: -40px;
    animation-delay: 1s;
}

.card-2 i {
    color: var(--warning-color);
}

.card-3 {
    bottom: 10%;
    right: 0;
    animation-delay: 2s;
}

.card-3 i {
    color: var(--primary-light);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ===== About Section ===== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.about-card {
    background: var(--gray-50);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.about-card:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.about-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 24px;
}

.about-card h3 {
    margin-bottom: 16px;
}

.about-card p {
    color: var(--gray-500);
    line-height: 1.8;
}

.about-highlight {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 50px;
    text-align: center;
}

.highlight-content {
    max-width: 700px;
    margin: 0 auto;
}

.highlight-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.about-highlight blockquote {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
}

.highlight-author strong {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Features Section ===== */
.features {
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
}

.feature-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.feature-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.feature-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.feature-card > p {
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.feature-list li i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* ===== Guide Section ===== */
.guide {
    background: var(--white);
}

.guide-section {
    margin-bottom: 60px;
}

.guide-section:last-child {
    margin-bottom: 0;
}

.guide-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-size: 1.5rem;
}

.guide-title i {
    color: var(--primary-color);
}

.steps-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
}

.step-card {
    flex: 1;
    max-width: 300px;
    background: var(--gray-50);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.step-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 24px;
}

.step-card h4 {
    margin-bottom: 12px;
}

.step-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    color: var(--gray-300);
    font-size: 1.5rem;
}

.steps-container.hospital .step-icon {
    background: rgba(5, 150, 105, 0.1);
    color: var(--secondary-color);
}

.steps-container.hospital .step-number {
    background: var(--gradient-secondary);
}

/* ===== Partners Section ===== */
.partners {
    background: var(--gray-50);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.partner-logo {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.partner-logo:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.partner-logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.partner-logo span {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

.partners-cta {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-500);
}

.partners-cta strong {
    color: var(--primary-color);
}

/* ===== Download Section ===== */
.download {
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
}

.download-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.download-shape-1 {
    width: 500px;
    height: 500px;
    background: var(--white);
    top: -200px;
    left: -100px;
}

.download-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: -100px;
    right: -50px;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.download-text {
    color: var(--white);
}

.download-text h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.download-text p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-900);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.store-btn:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

.store-btn i {
    font-size: 1.75rem;
}

.store-text {
    text-align: left;
}

.store-text span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-text strong {
    font-size: 1.125rem;
}

.download-qr {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qr-code {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gray-800);
}

.download-qr span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.download-image {
    display: flex;
    justify-content: center;
}

.phones-mockup {
    position: relative;
    width: 300px;
    height: 400px;
}

.phones-mockup .phone {
    position: absolute;
    width: 200px;
    height: 380px;
    background: var(--gray-900);
    border-radius: 30px;
    padding: 10px;
    box-shadow: var(--shadow-2xl);
}

.phones-mockup .phone-back {
    left: 0;
    top: 20px;
    transform: rotate(-10deg);
}

.phones-mockup .phone-front {
    right: 0;
    top: 0;
    transform: rotate(5deg);
}

.phones-mockup .phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phones-mockup .screen-content {
    text-align: center;
    color: var(--white);
}

.phones-mockup .screen-content i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.phones-mockup .screen-content span {
    font-size: 1.25rem;
    font-weight: 700;
}

/* ===== Documents Section ===== */
.documents {
    background: var(--white);
}

.documents-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--gray-50);
    padding: 24px 30px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.document-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.document-icon {
    width: 60px;
    height: 60px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--danger-color);
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-info h4 {
    margin-bottom: 4px;
}

.document-info p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.document-meta {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-card > p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gray-400);
}

.author-info strong {
    display: block;
    color: var(--gray-800);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== Contact Section ===== */
.contact {
    background: var(--white);
}

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

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.method-info span {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.method-info strong {
    color: var(--gray-800);
}

.contact-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1.125rem;
    transition: all var(--transition-normal);
}

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

.contact-form-wrapper {
    background: var(--gray-50);
    padding: 40px;
    border-radius: var(--radius-xl);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: all var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    background: var(--white);
    color: var(--primary-color);
}

.footer-brand .logo-img {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    object-fit: contain;
    background: transparent;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--white);
}

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

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-badges {
    display: flex;
    gap: 20px;
}

.footer-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--gray-400);
}

.footer-badges .badge i {
    color: var(--secondary-color);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
    }

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

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

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .download-buttons {
        justify-content: center;
    }

    .download-qr {
        justify-content: center;
    }

    .download-image {
        margin-top: 40px;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }

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

    .steps-container {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .step-card {
        max-width: 100%;
    }

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

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

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

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .floating-card {
        display: none;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

    .document-card {
        flex-direction: column;
        text-align: center;
    }
}
