/* Electronic Transaction - Professional Payment Gateway Stylesheet */
/* Copyright 2026 Electronic Transaction. All rights reserved. */

:root {
    --primary-color: #1a5fb4;
    --primary-dark: #0d3a7a;
    --primary-light: #4a9eff;
    --secondary-color: #00c853;
    --accent-color: #ff6d00;
    --text-dark: #1a1a2e;
    --text-light: #4a4a68;
    --text-muted: #6b6b8a;
    --bg-light: #f8f9fc;
    --bg-white: #ffffff;
    --border-color: #e1e4ea;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --gradient-primary: linear-gradient(135deg, #1a5fb4 0%, #0d3a7a 100%);
    --gradient-hero: linear-gradient(135deg, #0d3a7a 0%, #1a5fb4 50%, #4a9eff 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* Header Styles */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo img {
    height: 50px;
    width: auto;
}

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

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-menu a.active {
    background: var(--gradient-primary);
    color: white;
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

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

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

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

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

.btn-success {
    background: var(--secondary-color);
    color: white;
}

.btn-success:hover {
    background: #00a344;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.15;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--primary-light);
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
}

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

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
.section {
    padding: 100px 20px;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

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

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

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

/* Features Section */
.features-section {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-light);
}

/* Integration Section */
.integration-section {
    background: var(--gradient-primary);
    color: white;
}

.integration-section .section-title,
.integration-section .section-description {
    color: white;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.integration-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.integration-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.integration-name {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-description {
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.pricing-features li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: 700;
}

/* Security Section */
.security-section {
    background: var(--bg-white);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.security-features {
    list-style: none;
    margin-top: 30px;
}

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

.security-features li:last-child {
    border-bottom: none;
}

.security-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.security-feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.security-feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-section .section-title {
    color: white;
}

.cta-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 20px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 45px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    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: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: white;
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
}

.form-title h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-title p {
    color: var(--text-light);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.form-input.error {
    border-color: #e53935;
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.form-checkbox-label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.form-checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-checkbox-label a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-light);
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    color: white;
}

.success-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.success-text {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    padding: 160px 20px 80px;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Content Page */
.content-page {
    background: var(--bg-white);
    padding: 60px 20px;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.content-section h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.content-section p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 24px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.content-section li {
    margin-bottom: 8px;
}

/* About Page */
.about-hero {
    background: var(--gradient-primary);
    padding: 160px 20px 100px;
    text-align: center;
    color: white;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.team-image {
    width: 100%;
    height: 280px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-light);
}

.team-info {
    padding: 24px;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-bio {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 40px 20px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

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

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

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    /* Header Mobile */
    .header-container {
        height: 70px;
        padding: 0 16px;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.8rem;
        padding: 8px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 14px 16px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .header-actions {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding-top: 70px;
    }

    .hero-container {
        padding: 30px 16px;
        gap: 30px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 24px;
    }

    .hero-buttons .btn-lg {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 30px;
    }

    .stat-item {
        flex: 1;
        min-width: 80px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-image img {
        border-radius: 12px;
    }

    /* Section Mobile */
    .section {
        padding: 60px 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-subtitle {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .section-description {
        font-size: 0.95rem;
    }

    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 24px;
    }

    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    /* Features Grid Mobile */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .feature-title {
        font-size: 0.95rem;
    }

    .feature-description {
        font-size: 0.85rem;
    }

    /* Integration Grid Mobile */
    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .integration-item {
        padding: 20px;
    }

    .integration-icon {
        font-size: 2rem;
    }

    .integration-name {
        font-size: 0.9rem;
    }

    /* Pricing Mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 24px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-price {
        font-size: 2.2rem;
    }

    /* Security Features Mobile */
    .security-features li {
        padding: 12px 0;
    }

    .security-feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    /* CTA Section Mobile */
    .cta-section .hero-buttons {
        flex-direction: column;
    }

    /* Footer Mobile */
    .footer {
        padding: 50px 16px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .footer-logo img {
        height: 40px;
    }

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

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

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    /* About Stats Mobile */
    .about-stats {
        flex-direction: column;
        gap: 24px;
        margin-top: 40px;
    }

    .about-hero {
        padding: 120px 16px 60px;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 120px 16px 50px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    /* Team Grid Mobile */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Mobile */
    .contact-info {
        gap: 20px;
    }

    .contact-item {
        gap: 14px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .contact-form {
        padding: 24px;
    }

    /* Form Mobile */
    .form-container {
        padding: 24px;
        margin: 0 -8px;
        border-radius: 16px;
    }

    .form-title h2 {
        font-size: 1.5rem;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

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

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* Content Page Mobile */
    .content-page {
        padding: 40px 16px;
    }

    .content-section h2 {
        font-size: 1.3rem;
    }

    /* Table Mobile */
    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 12px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

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

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

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

    .hero-stats {
        gap: 12px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

/* Fix for iPhone notch and safe areas */
@supports (padding-top: env(safe-area-inset-top)) {
    .header {
        padding-top: env(safe-area-inset-top);
    }

    .hero {
        padding-top: calc(70px + env(safe-area-inset-top));
    }
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Smooth scrolling for mobile */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

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

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden {
    display: none;
}
