/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Common Section Styles */
section {
    padding: 2rem 0;
}

html {
    scroll-padding-top: 80px;
}

/* Utilities */
.bg-white {
    background: white;
}

.bg-surface {
    background: #f8fafc;
    color: #333;
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0278fb;
}

.nav-brand i {
    font-size: 1.8rem;
}

/* Header brand 3D animation */
.nav-brand {
    perspective: 700px;
}

.nav-brand a {
    transform-style: preserve-3d;
    will-change: transform, text-shadow, filter;
    animation: brand-tilt 8s ease-in-out infinite;
}

.nav-brand a {
    animation: brand-tilt 8s ease-in-out infinite, brand-glow 3.2s ease-in-out infinite;
    text-shadow: 0 0 6px rgba(59, 130, 246, 0.25);
}

.nav-brand a {
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.2));
}

.nav-brand:hover a {
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5));
}

@keyframes brand-tilt {
    0% {
        transform: rotateY(-8deg) rotateX(4deg) translateY(0);
    }

    25% {
        transform: rotateY(0deg) rotateX(1deg) translateY(-2px);
    }

    50% {
        transform: rotateY(8deg) rotateX(-3deg) translateY(-4px);
    }

    75% {
        transform: rotateY(0deg) rotateX(1deg) translateY(-2px);
    }

    100% {
        transform: rotateY(-8deg) rotateX(4deg) translateY(0);
    }
}

@keyframes brand-glow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.35);
    }

    50% {
        text-shadow: 0 0 16px rgba(59, 130, 246, 0.6);
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    cursor: pointer;
}

.nav-links a:hover {
    color: #0278fb;
}

.language-switcher {
    display: flex;
    gap: 0.25rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    padding: 0.375rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 32px;
    text-align: center;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-btn.active {
    background: #0278fb;
    border-color: #0278fb;
    color: white;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(45deg, #0278fb, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #0278fb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.server-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-graphic {
    /* enable 3D perspective for icon */
    perspective: 900px;
}

/* 3D animated server icon */
.server-icon {
    transform-style: preserve-3d;
    will-change: transform, text-shadow, filter;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 18px rgba(59, 130, 246, 0.25);
    animation: server-tilt 7s ease-in-out infinite, server-glow 3.5s ease-in-out infinite;
}

@keyframes server-tilt {
    0% {
        transform: rotateY(-12deg) rotateX(6deg) translateY(0);
    }

    25% {
        transform: rotateY(0deg) rotateX(2deg) translateY(-6px);
    }

    50% {
        transform: rotateY(12deg) rotateX(-4deg) translateY(-10px);
    }

    75% {
        transform: rotateY(0deg) rotateX(2deg) translateY(-6px);
    }

    100% {
        transform: rotateY(-12deg) rotateX(6deg) translateY(0);
    }
}

@keyframes server-glow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.45), 0 0 26px rgba(59, 130, 246, 0.45);
    }

    50% {
        text-shadow: 0 0 14px rgba(255, 255, 255, 0.7), 0 0 34px rgba(59, 130, 246, 0.65);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

    .server-icon,
    .speed-lines .line {
        animation: none !important;
    }
}

.speed-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.line:nth-child(1) {
    width: 100px;
    top: 20%;
    left: 10%;
}

.line:nth-child(2) {
    width: 150px;
    top: 50%;
    right: 20%;
}

.line:nth-child(3) {
    width: 80px;
    bottom: 30%;
    left: 30%;
}


/* Speed lines animation */
.speed-lines .line {
    will-change: transform, opacity;
    animation: line-move 2.2s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.speed-lines .line:nth-child(1) {
    animation-duration: 2.4s;
    animation-delay: 0s;
}

.speed-lines .line:nth-child(2) {
    animation-duration: 1.8s;
    animation-delay: 0.4s;
    animation-direction: reverse;
}

.speed-lines .line:nth-child(3) {
    animation-duration: 2.1s;
    animation-delay: 0.2s;
}

@keyframes line-move {
    0% {
        transform: translateX(-160%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(160%);
        opacity: 0;
    }
}



/* Features Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

/* Common Cards Grid Styles */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

/* Use only the common cards grid class */

/* Responsive grid adjustments for all card types */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card-base {
        padding: 1.5rem;
    }
}

@media (max-width: 375px) {
    .card-base {
        padding: 1rem;
    }
}

/* Common Card Base Styles */
.card-base {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-base:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0278fb, #1d4ed8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Responsive icon adjustments for all card types */
@media (max-width: 480px) {
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

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

@media (max-width: 375px) {
    .card-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.75rem;
    }

    .card-icon i {
        font-size: 1.125rem;
    }
}

.card-content h3,
.card-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.card-content p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Responsive text adjustments for all card types */
@media (max-width: 480px) {

    .card-content h3,
    .card-content h4 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .card-content p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
}

@media (max-width: 375px) {

    .card-content h3,
    .card-content h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .card-content p {
        font-size: 0.8125rem;
        line-height: 1.4;
    }
}

/* How It Works Section */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0278fb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.step-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* Pricing Table */
.pricing-table-container {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.pricing-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.25rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
    white-space: nowrap;
}

.pricing-table th:first-child {
    text-align: left;
}

.pricing-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    color: #6b7280;
}

.pricing-table small {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.4;
    display: block;
    margin-top: 0.25rem;
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #1f2937;
}

.pricing-table .highlight-row {
    background: #f8fafc;
}

.pricing-table .highlight-row td {
    color: #1f2937;
    font-weight: 500;
}

.pricing-table i.fa-check {
    color: #0278fb;
    font-size: 1.125rem;
}

.pricing-table i.fa-times {
    color: #ef4444;
    font-size: 1.125rem;
}

.pricing-table i.fa-gift {
    color: #0278fb;
    font-size: 1.125rem;
}

.pricing-table .savings {
    background: linear-gradient(45deg, #0278fb, #1d4ed8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-table .btn {
    margin: 0;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.pricing-table .process-row {
    background: #f8fafc;
    border-top: 2px solid #e5e7eb;
}

.pricing-table .process-row td {
    text-align: left;
    padding: 1.5rem 1rem;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: none;
}

/* Pricing CTA Button */
.pricing-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pricing-cta .btn {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Removed unused Pricing cards/grid styles; pricing uses table markup only */

/* Fair Pricing Section */

.pricing-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Migration & Support Section */

.migration-content {
    max-width: 1000px;
    margin: 0 auto;
}

.migration-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #1f2937;
}

.migration-text h3:first-child {
    margin-top: 0;
}

.migration-text p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Our Expertise Section */

.expertise-content {
    max-width: 1000px;
    margin: 0 auto;
}

.expertise-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #1f2937;
}

.expertise-text h3:first-child {
    margin-top: 0;
}

.expertise-text p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Expertise cards reuse .card-base, .card-icon, and .card-content */

/* Cloudflare Stats Section */
.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.stats-note {
    text-align: center;
    margin-top: 2rem;
}

.stats-note p {
    font-size: 1.125rem;
    opacity: 0.9;
    font-style: italic;
}

/* Pricing Explanation Section */
.explanation-content {
    max-width: 800px;
    margin: 0 auto;
}

.explanation-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #1f2937;
}

.explanation-text h3:first-child {
    margin-top: 0;
}

.explanation-text p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Custom styled lists */
.custom-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.custom-list li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.custom-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0278fb;
    font-weight: bold;
}

/* FAQ always open */
.faq-answer {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
    padding: 0.5rem 0 1.5rem 0;
}

.faq-item {
    margin-bottom: 2rem;
}

/* Usage Scenarios Section */

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

/* Utility for inline anchors styled as flex rows without decoration */
.simple-text-link {
    text-decoration: none;
    color: inherit;
}

.faq-question:hover {
    color: #6366f1;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

/* FAQ answers always visible */

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Section */
.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    opacity: 0.9;
}

.contact-item .taby-logo {
    width: auto;
    height: 62px;
    opacity: 0.7;
    margin-left: auto;
}

.contact-item .taby-logo:hover {
    opacity: 1;
}

.contact-item:last-child {
    opacity: 0.7;
}

.contact-item:last-child h4 {
    font-size: 1rem;
    font-weight: 500;
}

.contact-item:last-child p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.contact-item:last-child ol {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.contact a {
    color: white;
    text-decoration: none;
}

.contact a:hover {
    opacity: 0.8;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-notice {
    display: none;
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.form-notice.is-success {
    background: rgba(16, 185, 129, 0.15);
    color: #d1fae5;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.form-notice.is-error {
    background: rgba(239, 68, 68, 0.15);
    color: #fee2e2;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.form-notice.is-info {
    background: rgba(59, 130, 246, 0.15);
    color: #dbeafe;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Consent checkbox */
.consent-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.consent-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.consent-group a {
    color: #fff;
    text-decoration: underline;
}

.consent-group a:hover {
    opacity: 0.85;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0278fb;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
}

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

.footer a {
    color: #9ca3af;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .nav {
        padding: 0.75rem 1rem;
    }

    .nav-brand {
        font-size: 1.25rem;
    }

    .nav-brand i {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .language-switcher {
        margin-left: 0.75rem;
    }

    .lang-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
        min-width: 28px;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        padding: 0.2rem 1rem;
        flex-wrap: wrap;
    }

    .nav-brand {
        flex-shrink: 0;
    }

    .nav-links {
        gap: 0.75rem;
        order: 3;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-brand {
        font-size: 1.25rem;
    }

    .nav-brand i {
        font-size: 1.5rem;
    }

    .language-switcher {
        order: 2;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        flex-shrink: 0;
    }

    .lang-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
        min-width: 32px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .language-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 0;
        justify-content: center;
        gap: 0.5rem;
    }

    .lang-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        min-width: 40px;
    }

    /* Tablet pricing table improvements */
    .pricing-table {
        font-size: 0.9rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 1rem 0.75rem;
    }

    /* Service level mobile responsive */

    .service-level-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {

    /* Steps mobile responsive */
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Time slots mobile responsive */
    .time-slots-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {

    /* Steps mobile responsive - one per row */
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: space-between;
        align-items: center;
    }

    .nav-brand {
        flex-shrink: 0;
        order: 1;
    }

    .nav-brand span {
        font-size: 1.1rem;
    }

    .language-switcher {
        gap: 0.25rem;
        flex-shrink: 0;
        order: 2;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    .lang-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
        min-width: 28px;
    }

    .hero {
        padding-top: 150px;
    }

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

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

    /* Time slots mobile responsive */
    .time-slots-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    /* Service level mobile responsive */
    .service-level-text h3 {
        font-size: 1.2rem;
    }

    .service-level-text li {
        font-size: 0.95rem;
        padding-left: 1.2rem;
    }

    /* Mobile pricing table fixes */
    .pricing-table-container {
        margin: 0 -20px;
        padding: 0 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-table {
        font-size: 0.8rem;
        max-width: 100%;
        width: 100%;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.5rem 0.25rem;
        white-space: nowrap;
    }

    .pricing-table th {
        font-size: 0.75rem;
        padding: 0.75rem 0.25rem;
    }

    .pricing-table th:first-child,
    .pricing-table td:first-child {
        min-width: 120px;
        max-width: 120px;
        white-space: normal;
        word-wrap: break-word;
    }

    .pricing-table .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .pricing-table i {
        font-size: 0.9rem;
    }

    /* Navigation links - same as tablet (768px) */
    .nav-links {
        gap: 0.75rem;
        order: 3;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.8rem;
    }
}

@media (max-width: 375px) {

    /* Ultra-compact navigation for very small screens */
    .nav {
        padding: 0.5rem 0.75rem;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: space-between;
        align-items: center;
    }

    .nav-brand {
        flex-shrink: 0;
        order: 1;
    }

    .nav-links {
        gap: 0.75rem;
        order: 3;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.7rem;
    }

    .language-switcher {
        gap: 0.25rem;
        flex-shrink: 0;
        order: 2;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    .lang-btn {
        padding: 0.25rem 0.375rem;
        font-size: 0.7rem;
        min-width: 24px;
    }

    /* Steps mobile responsive - one per row with smaller gap */
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 320px) {
    .nav {
        padding: 0.5rem;
        gap: 0.25rem;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .nav-brand {
        flex-shrink: 0;
        order: 1;
    }

    .nav-links {
        gap: 0.75rem;
        order: 3;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.65rem;
    }

    .language-switcher {
        gap: 0.2rem;
        flex-shrink: 0;
        order: 2;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    .lang-btn {
        padding: 0.2rem 0.3rem;
        font-size: 0.65rem;
        min-width: 20px;
    }

    .pricing-table {
        font-size: 0.75rem;
        max-width: 100%;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.4rem 0.2rem;
    }

    .pricing-table th {
        font-size: 0.7rem;
        padding: 0.6rem 0.2rem;
    }

    .pricing-table th:first-child,
    .pricing-table td:first-child {
        min-width: 100px;
        max-width: 100px;
    }

    .pricing-table .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }

    .contact-item .taby-logo {
        width: 50px;
    }

    /* Steps mobile responsive - one per row with minimal gap */
    .steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Support Time Slots Section */
.support-content {
    max-width: 1000px;
    margin: 0 auto;
}

.support-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #1f2937;
}

.support-text h3:first-child {
    margin-top: 0;
}

.support-text p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.time-slot {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.slot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.slot-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.slot-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0278fb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-icon i {
    font-size: 1rem;
    color: white;
}

.slot-examples ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slot-examples li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.slot-examples li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0278fb;
    font-weight: bold;
    font-size: 1.2rem;
}

.support-note {
    background: linear-gradient(135deg, #0278fb, #1d4ed8);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
}

.support-note p {
    margin: 0;
    font-weight: 500;
}

.support-note strong {
    font-weight: 700;
}

/* Service Level Section */
.service-level-content {
    max-width: 800px;
    margin: 0 auto;
}

.service-level-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: white;
}

.service-level-text h3:first-child {
    margin-top: 0;
}

.service-level-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-level-text ul {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.service-level-text li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.service-level-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

.service-level-text strong {
    color: white;
    font-weight: 600;
}

@media (max-width: 290px) {
    .nav-links a[href="#usage-scenarios"] {
        display: none;
    }
}

@media (max-width: 230px) {
    .nav-links a[href="#faq"] {
        display: none;
    }
}

.contact-form label {
    font-family: monospace;
    opacity: .7;
}

.contact-form label a {
    display: contents;
    color: #333;
}