/* ==========================================================================
   ByAsker - Özel Web Arayüz & Tasarım Sistemi (Yapımcı & Editör: ByAsker)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;700;800&family=JetBrains+Mono:wght@500;700;800&display=swap');

:root {
    --bg-base: #030712;
    --bg-surface: rgba(10, 18, 36, 0.7);
    --bg-surface-elevated: rgba(15, 26, 52, 0.85);
    
    /* Vibrant Electric Blue & Neon Orange Colors */
    --neon-blue: #0ea5e9;
    --neon-cyan: #38bdf8;
    --neon-orange: #f97316;
    --neon-amber: #f59e0b;
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-blue: rgba(56, 189, 248, 0.35);
    --border-orange: rgba(249, 115, 22, 0.4);
    
    --radius-2xl: 24px;
    --radius-xl: 16px;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-pill: 9999px;
    
    --transition-bounce: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: all 0.25s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea, [contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Background Dynamic Aurora & Grid */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    background: 
        radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(249, 115, 22, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(56, 189, 248, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(56, 189, 248, 0.035) 1px, transparent 1px);
    z-index: -2;
    pointer-events: none;
}

#starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Floating Navbar */
.nav-wrapper {
    position: sticky;
    top: 1.25rem;
    z-index: 100;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.8rem;
    background: rgba(8, 16, 32, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-pill);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(2, 132, 199, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.35rem 0.2rem;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #f97316);
    border-radius: 2px;
}

.dropdown-item:hover {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
    transform: translateX(4px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

/* Modern Glowing Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%);
    color: #ffffff;
    box-shadow: 0 4px 25px rgba(249, 115, 22, 0.45);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(249, 115, 22, 0.7);
}

.btn-cyan {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: #030712;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

.btn-cyan:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.7);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.5);
    color: #38bdf8;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
}

.btn-success {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Glass Panels & Containers */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    width: 100%;
}

.glass, .glass-panel {
    background: rgba(10, 20, 40, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(2, 132, 199, 0.12);
    position: relative;
}

/* Explicit Form & Input Styles (No light-gray boxes!) */
.form-group {
    margin-bottom: 1.4rem;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.55rem;
    letter-spacing: 0.2px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea,
.form-input,
.form-control {
    width: 100% !important;
    background: rgba(6, 13, 26, 0.85) !important;
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    border-radius: 12px !important;
    padding: 0.95rem 1.25rem !important;
    font-size: 0.95rem !important;
    font-family: 'Outfit', sans-serif !important;
    transition: all 0.25s ease !important;
    outline: none !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    box-sizing: border-box !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus,
.form-input:focus,
.form-control:focus {
    background: rgba(10, 22, 45, 0.95) !important;
    border-color: #f97316 !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
}

input::placeholder,
.form-input::placeholder,
.form-control::placeholder {
    color: #475569 !important;
    opacity: 1 !important;
}

/* Hero Section */
.hero-section {
    padding: 4.5rem 0 3.5rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-pill);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.hero-heading {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-gradient-text {
    color: #f97316 !important;
    background: none !important;
    -webkit-text-fill-color: #f97316 !important;
    text-shadow: 0 0 35px rgba(249, 115, 22, 0.45);
}

.hero-desc {
    font-size: 1.18rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.2rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

/* Interactive Server Monitor Card in Hero */
.hero-visual-card {
    background: rgba(10, 20, 40, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(2, 132, 199, 0.25);
    position: relative;
    overflow: hidden;
}

.hero-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #f97316);
}

.node-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem;
    background: rgba(6, 13, 26, 0.7);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
    display: inline-block;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Period Billing Switcher */
.period-control-wrap {
    text-align: center;
    margin: 4.5rem 0 3rem;
}

.period-switcher {
    display: inline-flex;
    background: rgba(10, 20, 40, 0.9);
    padding: 0.45rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(56, 189, 248, 0.25);
    gap: 0.4rem;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7);
}

.period-tab {
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.period-tab.active {
    background: #f97316;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 4px 22px rgba(249, 115, 22, 0.6);
}

/* 5 3D Glassmorphic Interactive Pricing Cards */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 5rem;
}

.pricing-box {
    background: rgba(10, 20, 38, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: var(--radius-2xl);
    padding: 2.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-bounce);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
}

.pricing-box:hover {
    transform: translateY(-10px);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(2, 132, 199, 0.35);
    background: rgba(15, 30, 58, 0.9);
}

.pricing-box.featured-card {
    border: 2px solid #f97316;
    background: radial-gradient(circle at top, rgba(249, 115, 22, 0.18) 0%, rgba(10, 20, 38, 0.92) 100%);
    box-shadow: 0 25px 60px rgba(249, 115, 22, 0.35), 0 0 40px rgba(2, 132, 199, 0.25);
    transform: scale(1.04);
}

.pricing-box.featured-card:hover {
    transform: scale(1.04) translateY(-10px);
}

.featured-pill {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #ffffff;
    padding: 0.35rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.6);
}

.pricing-top {
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.3px;
}

.card-badge {
    font-size: 0.82rem;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 0.9rem;
}

.card-cost {
    font-size: 2.6rem;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    color: #ffffff;
}

.card-cost span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.specs-list {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.specs-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.specs-list li i {
    flex-shrink: 0;
    color: #38bdf8;
}

/* Feature Showcase Grid */
.feature-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature-box {
    background: rgba(10, 20, 38, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.feature-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 70%);
    pointer-events: none;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(249, 115, 22, 0.25);
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-box:nth-child(2) .feature-icon-wrap {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.35);
    color: #f97316;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-backdrop.active {
    display: flex;
}

.modal-content-card {
    background: #081122;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.95), 0 0 30px rgba(2, 132, 199, 0.2);
    overflow: hidden;
}

.modal-content-card > form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    overflow: hidden;
}

.modal-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-body {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    flex: 1;
    min-height: 0;
}

/* Custom Scrollbar for Modal Body */
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
.modal-body::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.3);
    border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.6);
}

.modal-footer {
    padding: 1.1rem 1.75rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    background: rgba(5, 12, 28, 0.95);
}

/* Footer */
.footer-wrap {
    margin-top: auto;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    padding: 4rem 2rem;
    background: rgba(4, 9, 18, 0.95);
    text-align: center;
}

/* Mobile Navigation Hamburger & Drawer Styles */
.mobile-hamburger-btn {
    display: none;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    padding: 0.45rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-hamburger-btn:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.6);
}

.mobile-drawer {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(8, 16, 32, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 18px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(56, 189, 248, 0.15);
    z-index: 999;
    animation: drawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
    display: block;
}

@keyframes drawerSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.2s;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    transform: translateX(4px);
}

/* Laptop / Smaller Desktop Breakpoints (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .pricing-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    .hero-heading {
        font-size: 3.8rem;
    }
}

/* Tablet & Smaller Desktop Responsive Breakpoints */
@media (max-width: 1200px) {
    .pricing-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .navbar-menu {
        display: none !important;
    }
    .mobile-hamburger-btn {
        display: inline-flex !important;
    }
    .desktop-only-btn {
        display: none !important;
    }
    .hero-heading {
        font-size: 3.4rem;
    }
    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Mobile Phone Responsive Breakpoints (iPhone, Android, Foldables, Small Tablets) */
@media (max-width: 768px) {
    .nav-wrapper {
        top: 0.65rem;
        padding: 0 0.8rem;
    }

    .navbar {
        padding: 0.6rem 1rem !important;
        border-radius: 18px !important;
    }

    .mobile-drawer {
        left: 0.8rem;
        right: 0.8rem;
    }

    .container {
        padding: 1.5rem 0.85rem !important;
    }

    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.2rem 0 1.8rem;
        gap: 1.8rem;
    }

    .hero-heading {
        font-size: 2.6rem;
        letter-spacing: -0.8px;
    }

    .hero-desc {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

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

    .period-control-wrap {
        margin: 2.5rem 0 1.8rem;
    }

    .period-switcher {
        flex-direction: column;
        width: 100%;
        border-radius: 16px;
        padding: 0.4rem;
    }

    .period-tab {
        width: 100%;
        padding: 0.65rem 1rem;
        font-size: 0.88rem;
    }

    .pricing-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        margin-bottom: 3.5rem;
    }

    .pricing-box.featured-card {
        transform: scale(1);
    }
    .pricing-box.featured-card:hover {
        transform: translateY(-6px);
    }

    .feature-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        margin-bottom: 3.5rem;
    }

    #faq > div:nth-child(2) {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .feature-box {
        padding: 1.8rem 1.4rem;
    }

    /* Modal Mobile Adjustments */
    .modal-content-card {
        max-width: 100% !important;
        max-height: 94vh !important;
        border-radius: 18px !important;
        margin: 0.5rem;
    }

    .modal-header, .modal-footer {
        padding: 1rem 1.2rem !important;
    }

    .modal-body {
        padding: 1.2rem 1.2rem !important;
    }

    /* Horizontal touch scroll for data tables on mobile */
    .table-responsive, .table-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 1rem;
    }

    table {
        min-width: 550px;
    }

    .footer-wrap {
        padding: 3rem 1.2rem;
    }
}

/* Extra Small Devices (iPhone SE, Folded screens, under 400px) */
@media (max-width: 400px) {
    .hero-heading {
        font-size: 2.1rem;
        line-height: 1.15;
    }
    .hero-tag {
        font-size: 0.78rem;
        padding: 0.35rem 0.85rem;
    }
    .btn {
        font-size: 0.88rem;
        padding: 0.65rem 1.2rem;
    }
    .card-cost {
        font-size: 2.2rem;
    }
}
