/* ==========================================
   Zyvora Calls - Custom Premium Pay-Per-Call Stylesheet
   Re-engineered for Absolute 100% Mobile Responsiveness and Clean Performance
   ========================================== */

/* Typography & Reset */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #070b19;
    --bg-card: #0f162e;
    --bg-card-hover: #16203f;
    --primary: #00f2fe;
    --primary-alt: #4facfe;
    --secondary: #00ff87;
    --secondary-alt: #60efff;
    --text-main: #ffffff;
    --text-muted: #8fa0dd;
    --accent: #f35588;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --border-glow: rgba(0, 242, 254, 0.12);
    --border-glow-hover: rgba(0, 242, 254, 0.35);
    --max-width: 1200px;
}

/* Global Reset Rules k user specifications */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    position: relative;
    scroll-behavior: smooth;
}

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Typography with clamp() */
h1 {
    font-size: clamp(2.2rem, 6vw, 3.3rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(1.7rem, 4.5vw, 2.5rem);
    line-height: 1.25;
    font-weight: 800;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    line-height: 1.35;
    font-weight: 700;
}

h4 {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 700;
}

p {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--text-muted);
}

/* Base Layout Containers */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-alt) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-alt {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-alt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons with fully responsive structures */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    border: none;
    gap: 0.5rem;
    text-align: center;
    max-width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-alt) 100%);
    color: #070b19;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 242, 254, 0.5);
    background: linear-gradient(135deg, var(--primary-alt) 0%, var(--primary) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(0, 242, 254, 0.05);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-alt) 100%);
    color: #070b19;
    box-shadow: 0 4px 20px rgba(0, 255, 135, 0.25);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 255, 135, 0.45);
}

/* Header / Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 11, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

header.scrolled {
    background: var(--bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    z-index: 1001;
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.nav-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.1) 0%, rgba(7, 11, 25, 0) 60%),
                radial-gradient(circle at 10% 80%, rgba(0, 255, 135, 0.05) 0%, rgba(7, 11, 25, 0) 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

.stat-item h3 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Graphic Elements */
.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sphere-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
}

.sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 242, 254, 0.18) 0%, rgba(76, 172, 254, 0.02) 70%);
    border: 1px solid rgba(0, 242, 254, 0.25);
    position: relative;
    animation: pulse 4s infinite ease-in-out;
}

.orbit {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px dashed rgba(0, 255, 135, 0.15);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-node {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--secondary);
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.floating-card {
    position: absolute;
    background: rgba(15, 22, 46, 0.85);
    border: 1px solid var(--border-glow);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    animation: float 6s infinite ease-in-out;
}

.fc-1 {
    top: 20px;
    left: -40px;
    animation-delay: 0s;
}

.fc-2 {
    bottom: 40px;
    right: -30px;
    animation-delay: 3s;
}

.fc-icon {
    background: rgba(0, 242, 254, 0.08);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.fc-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.fc-text p {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Sections Base Styling */
section {
    padding: 100px 0;
}

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

.section-tag {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: block;
}

.section-header p {
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Split Track Section */
.track-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 22, 46, 0.5) 50%, var(--bg-dark) 100%);
}

.track-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.track-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.track-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.1);
}

.track-card.publisher-track {
    border-color: rgba(0, 255, 135, 0.12);
}

.track-card.publisher-track:hover {
    border-color: rgba(0, 255, 135, 0.35);
    box-shadow: 0 20px 40px rgba(0, 255, 135, 0.08);
}

.track-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 254, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.publisher-track .track-icon {
    background: rgba(0, 255, 135, 0.08);
    color: var(--secondary);
}

.track-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.track-list {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.track-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.4;
}

.track-list li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.publisher-track .track-list li svg {
    color: var(--secondary);
}

/* Verticals Section */
.verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vertical-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.vertical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.vertical-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.vertical-card:hover::before {
    transform: scaleX(1);
}

.vertical-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.vertical-card:hover .vertical-card-icon {
    background: rgba(0, 242, 254, 0.08);
    transform: scale(1.1);
}

.vertical-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.vertical-features {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
}

/* Technology Grid Section */
.tech-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.tech-image {
    position: relative;
    width: 100%;
}

.tech-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    width: 100%;
}

.tech-main-card h3 {
    margin-bottom: 1.5rem;
}

.tech-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-stat-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
}

.tech-stat-box h4 {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.tech-list-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    gap: 1.25rem;
}

.tech-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.tech-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* How It Works Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 3rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-alt) 100%);
    color: #070b19;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
}

.step-card h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Call to Action Banner */
.cta-banner {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, #0d1733 0%, #070b19 100%);
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 32px;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    width: 100%;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer Styles */
footer {
    background: #040710;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-column h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    word-break: break-all;
}

.footer-contact-info li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

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

.footer-legal-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--primary);
}

/* Multi-Page Custom Form / Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 2rem;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 24px;
    padding: 3.5rem;
}

.contact-info-card h3 {
    margin-bottom: 1.5rem;
}

.contact-info-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

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

.cd-row {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.cd-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.cd-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.cd-text p, .cd-text a {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: none;
    word-break: break-all;
}

.cd-text a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 3.5rem;
    width: 100%;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.95rem 1.25rem;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
    background: rgba(255,255,255,0.04);
}

.form-group select option {
    background-color: var(--bg-card);
    color: var(--text-main);
}

.form-group textarea {
    resize: vertical;
}

/* Styled File Upload Fields */
.file-upload-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.file-upload-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    width: 100%;
    min-height: 100px;
}

.file-upload-box:hover {
    border-color: var(--secondary);
    background: rgba(0, 255, 135, 0.02);
}

.file-upload-box input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    pointer-events: none;
}

.file-upload-text svg {
    color: var(--secondary);
    margin: 0 auto 0.5rem auto;
}

/* Inner Pages Header Style */
.page-hero {
    padding: 150px 0 80px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 10%, rgba(0, 242, 254, 0.08) 0%, rgba(7, 11, 25, 0) 50%);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.page-hero p {
    color: var(--text-muted);
    margin: 1rem auto 0 auto;
    max-width: 600px;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 35px rgba(0, 242, 254, 0.3);
    }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* ==========================================================================
   POLISHED RESPONSIVE BREAKPOINTS & LAYOUT AUDIT k USER SPECIFICATIONS
   ========================================================================== */

/* Tablet & Smaller Layouts (991px) */
@media (max-width: 991px) {
    section {
        padding: 70px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-stats {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-graphic {
        display: none !important; /* Fully hide fixed-size layout overflows at tablet & mobile */
    }
    
    .track-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .track-card {
        padding: 3rem 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .tech-image {
        order: 2;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Phablets & Large Mobiles (768px) */
@media (max-width: 768px) {
    /* Safe Mobile Global Overrides */
    html, body {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    section {
        padding: 60px 0;
        width: 100%;
        overflow: hidden;
    }
    
    .hero {
        padding: 130px 0 60px 0;
    }
    
    .hero-content h1 {
        line-height: 1.25;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 2.5rem auto;
    }
    
    .hero-ctas .btn {
        width: 100%;
        padding: 0.95rem 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .stat-item {
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 1.25rem;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .verticals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vertical-card {
        padding: 2rem 1.25rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .step-card {
        padding: 2.5rem 1.25rem;
    }
    
    .step-number {
        top: -20px;
    }
    
    .cta-box {
        padding: 3rem 1.25rem;
        border-radius: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 2.5rem 1.25rem;
        border-radius: 20px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 1.5rem auto 0 auto;
    }
    
    .footer-contact-info li {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    /* Hardware-Accelerated 3D Mobile Menu to fully avoid scrolling bugs */
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        gap: 1.75rem;
        align-items: center;
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.05);
        z-index: 999;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        font-size: 1.15rem;
        display: block;
        padding: 0.5rem 0;
    }
    
    .nav-ctas {
        display: none !important;
    }
}

/* Target Specific Mobile Sizes (320px, 360px, 375px, 390px, 414px, 430px, 480px) */
@media (max-width: 480px) {
    /* Center align all items k user's mid-alignment preferences */
    .hero-content, .section-header, .track-card, .vertical-card, .step-card, .cta-box {
        text-align: center;
    }
    
    .track-list li {
        justify-content: center;
        font-size: 0.9rem;
    }
    
    .tech-main-card {
        padding: 2rem 1.25rem;
        border-radius: 16px;
    }
    
    .tech-stat-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-info-card {
        padding: 2.2rem 1.25rem;
        border-radius: 16px;
    }
    
    .cd-row {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .form-group input, .form-group select, .form-group textarea {
        padding: 0.85rem 1rem;
    }
}

/* Extra-small screens (320px to 360px) alignment fixes */
@media (max-width: 360px) {
    h1 {
        font-size: 1.85rem;
    }
    h2 {
        font-size: 1.55rem;
    }
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    .track-card, .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }
}
