/* ============================================
   MAILCENTRALEX - MODERN ENTERPRISE DESIGN
   ============================================ */

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

/* Color Palette */
:root {
    --bg-dark: #0a0e27;
    --bg-darker: #050709;
    --bg-surface: #1a1f3a;
    --accent-cyan: #00d9ff;
    --accent-purple: #7c3aed;
    --accent-blue: #3b82f6;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #64748b;
    --border-color: #334155;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--bg-surface);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: absolute;
    left: 2rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.15em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3.5rem;
    justify-content: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-cyan);
}

.nav-status {
    position: absolute;
    right: 2rem;
}

.status-indicator {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    background-color: var(--bg-dark);
    padding: 80px 2rem 120px;
    min-height: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
}

.flow-path {
    animation: flowAnimation 8s ease-in-out infinite;
}

.flow-path:nth-child(1) {
    animation-delay: 0s;
}

.flow-path:nth-child(2) {
    animation-delay: 1s;
}

.flow-path:nth-child(3) {
    animation-delay: 2s;
}

.flow-path:nth-child(4) {
    animation-delay: 3s;
}

.accent-line {
    animation: pulseAnimation 3s ease-in-out infinite;
}

.accent-line:nth-child(1) {
    animation-delay: 0s;
}

.accent-line:nth-child(2) {
    animation-delay: 1.5s;
}

@keyframes flowAnimation {
    0%, 100% {
        opacity: 0.3;
        stroke-width: 2;
    }
    50% {
        opacity: 0.6;
        stroke-width: 3;
    }
}

@keyframes pulseAnimation {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: 950px;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-block;
    background-color: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--accent-cyan);
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

.gradient-text {
    background: linear-gradient(90deg, var(--accent-cyan) 0%, #3b82f6 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.metrics-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.metric {
    text-align: center;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.metric-value span {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-left: 0.25rem;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-cyan);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: #00b8d4;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-cyan);
    border: 1.5px solid var(--accent-cyan);
}

.btn-secondary:hover {
    background-color: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   CONTAINER & SECTIONS
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 500;
}

.solutions-section,
.why-choose,
.performance-section,
.cta-footer {
    padding: 80px 2rem;
    position: relative;
}

.solutions-section {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.why-choose {
    background-color: var(--bg-surface);
}

.performance-section {
    background-color: var(--bg-dark);
}

.cta-footer {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.cta-footer h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-footer p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    padding: 60px 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ============================================
   SERVICES
   ============================================ */

.services-container {
    padding: 60px 0;
}

.service-section {
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.service-section h2 {
    color: var(--text-primary);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    margin-top: 1rem;
}

.section-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.solutions-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card,
.solution-card {
    background-color: var(--bg-surface);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover,
.solution-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 24px rgba(0, 217, 255, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3,
.solution-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.service-card p,
.solution-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    background-color: rgba(0, 217, 255, 0.1);
    color: var(--accent-cyan);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 217, 255, 0.2);
    font-family: 'Courier New', monospace;
}

.coverage-section {
    background-color: var(--bg-surface);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin: 3rem 2rem;
    border: 1px solid var(--border-color);
}

.coverage-section h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.coverage-section p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.advantage-card {
    background-color: var(--bg-surface);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.advantage-card h4 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.large-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.large-metric {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-surface);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.large-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.large-number span {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.large-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
}

/* ============================================
   CONTACT
   ============================================ */

.contact-container {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background-color: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.info-block {
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-link:hover {
    color: #00b8d4;
}

.info-block p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.contact-region {
    color: var(--text-primary) !important;
    font-weight: 600;
}

.info-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

.capability-list {
    list-style: none;
    padding: 0;
}

.capability-list li {
    padding: 0.6rem 0;
    color: var(--text-secondary);
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.95rem;
}

.capability-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Form Styles */
.contact-form-section {
    background-color: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-form-section h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    background-color: rgba(0, 217, 255, 0.02);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
    background-color: rgba(0, 217, 255, 0.05);
}

.form-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--bg-surface);
    color: var(--text-secondary);
    padding: 3rem 2rem 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solutions-grid,
    .service-grid,
    .advantages-grid,
    .large-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 60px 1.5rem 100px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .btn {
        width: 100%;
    }

    .metrics-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .service-section h2 {
        font-size: 1.8rem;
    }

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

    .solutions-section,
    .why-choose,
    .performance-section,
    .cta-footer {
        padding: 50px 1.5rem;
    }

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

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .logo-icon {
        font-size: 1.2rem;
    }

    .logo {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }

    .nav-menu {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .nav-status {
        display: none;
    }

    .hero {
        padding: 40px 1rem 80px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .metrics-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 40px 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

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

    .service-section {
        padding: 0;
        margin-bottom: 2rem;
    }

    .service-section h2 {
        font-size: 1.5rem;
    }

    .service-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .large-metrics {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-section {
        padding: 1.5rem;
    }

    .contact-info h3,
    .contact-form-section h3 {
        font-size: 1.2rem;
    }

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

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

    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}