/* ==========================================
   İŞİ AL PLATFORMU - PREMIUM LANDING PAGE CSS
   ========================================== */

/* 1. Global Custom Properties & Colors */
:root {
    --bg-dark: #070913;
    --bg-card: rgba(22, 28, 45, 0.45);
    --border-color: rgba(255, 255, 255, 0.07);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    
    /* Harmonious Curated Colors */
    --accent-orange: #ff5722;
    --accent-yellow: #ffb300;
    --active-green: #4caf50;
    --glow-orange: rgba(255, 87, 34, 0.15);
    --glow-green: rgba(76, 175, 80, 0.2);
    --glow-yellow: rgba(255, 179, 0, 0.25);
    
    /* Gradients */
    --primary-grad: linear-gradient(135deg, #ff5722 0%, #ffb300 100%);
    --green-grad: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    --card-grad: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transition Speed */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* 2. Premium Background Effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.45;
}

.bg-glow-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
}

.bg-glow-2 {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* 3. Reusable Components & Containers */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-grad);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.4);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* Shimmer animation on buttons */
.btn-apk::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.btn-apk:hover::after {
    opacity: 1;
    left: 120%;
}

/* 4. Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
    padding: 1.2rem 0;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 9, 19, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.neon-logo {
    filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.4));
    animation: pulseGlow 4s infinite alternate;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--text-primary);
}

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

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* 5. Hero Section */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
    position: relative;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-orange);
    animation: flash 1.5s infinite;
}

.badge-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent-orange);
}

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

.hero-title .highlight {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

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

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.apk-download {
    background: var(--green-grad);
    border-color: rgba(76, 175, 80, 0.3);
    color: white;
}

.apk-download:hover {
    background: var(--green-grad);
    box-shadow: 0 10px 25px var(--glow-green);
    border-color: var(--active-green);
}

.download-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.download-btn.disabled:hover {
    transform: none;
    border-color: var(--border-color);
    background: var(--bg-card);
}

.btn-icon {
    flex-shrink: 0;
}

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-main {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

/* Hero Mockup Styling */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-container {
    position: relative;
    width: 320px;
    height: 640px;
    animation: floatPhone 6s ease-in-out infinite;
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, var(--glow-orange) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: #0f1322;
    border: 12px solid #2d3748;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
}

.phone-speaker {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #4a5568;
    border-radius: 10px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    transition: transform 0.5s ease;
}

.phone-frame:hover .app-screenshot {
    transform: scale(1.03);
}

/* 6. Stats Section */
.stats-section {
    padding: 4rem 0;
    position: relative;
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px var(--glow-orange));
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 7. Features Section */
.features-section {
    padding: 6rem 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.feature-role-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: var(--transition);
}

.worker-role::before {
    background: var(--green-grad);
}

.employer-role::before {
    background: var(--primary-grad);
}

.feature-role-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.12);
}

.worker-role:hover {
    box-shadow: 0 20px 40px -15px var(--glow-green);
}

.employer-role:hover {
    box-shadow: 0 20px 40px -15px var(--glow-orange);
}

.role-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.worker-badge {
    background: rgba(76, 175, 80, 0.1);
    color: var(--active-green);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.employer-badge {
    background: rgba(255, 179, 0, 0.1);
    color: var(--accent-yellow);
    border: 1px solid rgba(255, 179, 0, 0.2);
}

.role-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.role-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.role-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.list-check {
    flex-shrink: 0;
    margin-top: 3px;
}

.worker-role .list-check {
    color: var(--active-green);
}

.employer-role .list-check {
    color: var(--accent-orange);
}

.role-features-list span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.role-features-list strong {
    color: var(--text-primary);
}

/* 8. Credits Section & Calculator */
.credits-section {
    padding: 6rem 0;
    position: relative;
}

.credits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.credit-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.credit-info-card:hover {
    transform: translateY(-5px);
}

.yellow-glow:hover {
    box-shadow: 0 15px 30px -10px var(--glow-yellow);
    border-color: rgba(255, 179, 0, 0.3);
}

.green-glow:hover {
    box-shadow: 0 15px 30px -10px var(--glow-green);
    border-color: rgba(76, 175, 80, 0.3);
}

.credit-coin {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.credit-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.yellow-glow .credit-title {
    color: var(--accent-yellow);
}

.green-glow .credit-title {
    color: var(--active-green);
}

.credit-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Dynamic Calculator Widget CSS */
.calculator-container {
    background: var(--card-grad);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.calculator-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-yellow) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.calc-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.calc-subtitle {
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.slider-side {
    display: flex;
    flex-direction: column;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.days-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.days-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--accent-yellow);
}

/* Premium Range Slider styling */
.credit-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: var(--transition);
}

.credit-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-yellow);
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-yellow);
    transition: transform 0.1s ease;
}

.credit-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.credit-range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-yellow);
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-yellow);
    border: none;
    transition: transform 0.1s ease;
}

.credit-range-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0.2rem 0 0.2rem;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Result Card */
.result-side {
    display: flex;
    justify-content: center;
}

.result-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 179, 0, 0.2);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.calculator-container:hover .result-box {
    border-color: rgba(255, 179, 0, 0.4);
    box-shadow: inset 0 0 25px rgba(255, 179, 0, 0.05), 0 0 30px rgba(255, 179, 0, 0.1);
}

.result-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 1rem;
}

.result-value-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.result-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--accent-yellow);
    text-shadow: 0 0 20px var(--glow-yellow);
    transition: all 0.15s ease-out;
}

.result-coin {
    font-size: 2.2rem;
}

.result-subtext {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* 9. Security Section */
.security-section {
    padding: 6rem 0;
    position: relative;
}

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

.security-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.security-icon-glow {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.03);
    border: 1px solid rgba(76, 175, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.05);
}

.security-icon-glow::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 1px dashed rgba(76, 175, 80, 0.2);
    animation: rotateDashed 20s linear infinite;
}

.shield-svg {
    filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.4));
}

.security-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.security-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.security-bullets {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.bullet-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 3px;
}

.bullet-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.bullet-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 10. FAQ Section */
.faq-section {
    padding: 6rem 0;
    position: relative;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-align: left;
    outline: none;
}

.accordion-arrow {
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--text-secondary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 2rem;
}

.accordion-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-bottom: 1.5rem;
}

/* Active accordion states */
.accordion-item.active {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.15);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--accent-orange);
}

/* 11. Footer */
.footer {
    background: #04060c;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    width: fit-content;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-subtext {
    font-size: 0.75rem !important;
    opacity: 0.5;
}

/* 12. Keyframes & Animations */
@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 6px rgba(255, 87, 34, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(255, 87, 34, 0.6));
    }
}

@keyframes floatPhone {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

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

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ==========================================
   13. Responsive Media Queries (Mobile First)
   ========================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .download-buttons {
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .credits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .calculator-body {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .result-side {
        width: 100%;
    }
    .result-box {
        max-width: 100%;
    }
    .security-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .security-visual {
        order: -1;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .navbar-container {
        padding: 0 1.5rem;
    }
    .mobile-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(7, 9, 19, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 3rem 2rem;
        border-bottom: 1px solid var(--border-color);
        transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }
    .nav-menu.active {
        top: 0;
    }
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        width: 100%;
        text-align: center;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature-role-card {
        padding: 2rem;
    }
    .calculator-container {
        padding: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Hamburger Active State */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* 12. Urgent/Emergency Ads Styling */
.urgent-badge-inline {
    display: inline-block;
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.2);
    animation: urgentPulse 2s infinite alternate;
}

@keyframes urgentPulse {
    0% {
        box-shadow: 0 0 5px rgba(244, 67, 54, 0.1);
        border-color: rgba(244, 67, 54, 0.2);
    }
    100% {
        box-shadow: 0 0 15px rgba(244, 67, 54, 0.4);
        border-color: rgba(244, 67, 54, 0.6);
    }
}

.urgent-toggle-wrapper {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    transition: var(--transition);
}

.urgent-toggle-wrapper:hover {
    background: rgba(255, 255, 255, 0.04);
}

.urgent-toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 12px;
}

.urgent-toggle-label input {
    display: none;
}

.urgent-toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.urgent-toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #cbd5e1;
    border-radius: 50%;
    transition: var(--transition);
}

.urgent-toggle-label input:checked + .urgent-toggle-slider {
    background: #f44336;
    border-color: #f44336;
    box-shadow: 0 0 12px rgba(244, 67, 54, 0.5);
}

.urgent-toggle-label input:checked + .urgent-toggle-slider::before {
    transform: translateX(20px);
    background: #ffffff;
}

.urgent-toggle-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Siren glow effect on result box */
#calc-result-box.urgent-active {
    border-color: rgba(244, 67, 54, 0.4);
    box-shadow: 0 15px 35px rgba(244, 67, 54, 0.2);
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    animation: sirenFlashing 1s infinite alternate;
}

@keyframes sirenFlashing {
    0% {
        box-shadow: 0 0 15px rgba(244, 67, 54, 0.1);
        border-color: rgba(244, 67, 54, 0.2);
    }
    100% {
        box-shadow: 0 0 25px rgba(244, 67, 54, 0.35);
        border-color: rgba(244, 67, 54, 0.6);
    }
}
