/* ============================================
   TASUTHOR - Custom Styles
   Color Scheme: Dark Blue (#1e3a8a) + Yellow (#ff9a14)
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Colors */
    --primary-blue: #1e3a8a;
    --primary-blue-light: #2563eb;
    --primary-blue-dark: #1e2a5e;
    --accent-yellow: #ff9a14;
    --accent-yellow-hover: #f59e0b;
    --accent-yellow-light: #fcd34d;
    
    /* Dark Mode (Default) */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #475569;
    --card-bg: #1e293b;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --section-padding-mobile: 3rem 0;
    /* Navbar logo sizing (use these to control cropping in width) */
    --navbar-logo-height: 100px;
    --navbar-logo-height-mobile: 72px;
}

/* Light Mode */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* Light mode button adjustments */
[data-theme="light"] .btn-primary {
    color: #1e3a8a;
}

[data-theme="light"] .btn-primary:hover {
    color: #1e3a8a;
}

[data-theme="light"] .btn-outline-primary {
    color: var(--primary-blue);
}

/* ============================================
   Base Styles
   ============================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color var(--transition-normal), color var(--transition-normal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-yellow-hover);
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
    background-color: transparent;
    padding: 1rem 0;
    transition: all var(--transition-normal);
    z-index: 1000;
}

.navbar.scrolled {
    background-color: var(--bg-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-yellow) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo-wrap {
    display: inline-block;
    height: var(--navbar-logo-height);
    overflow: hidden;
    vertical-align: middle;
}

.navbar-logo {
    height: var(--navbar-logo-height);
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform var(--transition-fast);
    /* small horizontal nudge to hide tiny left padding inside the SVG if present */
    transform: translateX(0);
}

.navbar:hover .navbar-logo {
    transform: scale(1.05);
}

.navbar-brand span {
    color: var(--text-primary);
}

@media (max-width: 575px) {
    .navbar-logo-wrap,
    .navbar-logo {
        height: var(--navbar-logo-height-mobile);
    }
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-yellow) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--accent-yellow);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--accent-yellow);
}

.theme-toggle:hover {
    background: var(--accent-yellow);
    color: var(--primary-blue);
}

.theme-toggle i {
    font-size: 1.1rem;
}

/* Mobile Menu */
.navbar-toggler {
    border-color: var(--accent-yellow);
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff9a14' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--bg-secondary);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
    }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: 2px solid;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    outline: none;
}

.btn:focus-visible {
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #000000;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.25);
}

.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
    border-color: var(--accent-yellow-hover);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.25);
}

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.btn-outline-primary {
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
    background: transparent;
    box-shadow: inset 0 0 0 0 var(--accent-yellow);
}

.btn-outline-primary:hover {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #000000;
    box-shadow: inset 0 0 0 0 var(--accent-yellow);
}

.btn-outline-primary:active {
    transform: scale(0.98);
}

.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
    border-color: #cccccc;
    color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.btn-secondary:hover {
    background-color: var(--primary-blue-light);
    border-color: var(--primary-blue-light);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.btn-secondary:disabled,
.btn-secondary.disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:disabled,
.btn-whatsapp.disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--primary-blue-dark) 50%, var(--primary-blue) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(251, 191, 36, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Animated Grid Background */
.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(251, 191, 36, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 191, 36, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating Elements */
.hero-float-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-yellow), transparent);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero-float-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-float-element:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.hero-float-element:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

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

.hero-title .highlight {
    color: var(--accent-yellow);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--accent-yellow);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--section-padding);
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: var(--section-padding-mobile);
    }
}

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

.section-light {
    background-color: var(--bg-secondary);
}

.section-gradient {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-title .highlight {
    color: var(--accent-yellow);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   Cards
   ============================================ */

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-yellow);
}

.card-body {
    padding: 2rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-hover));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.card-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.feature-card .card-icon {
    margin: 0 auto 1.5rem;
}

/* ============================================
   Service Sections
   ============================================ */

.service-section {
    padding: 6rem 0;
}

.service-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.service-image img {
    width: 100%;
    height: auto;
}

.service-image-placeholder {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    border: 2px dashed var(--border-color);
}

.service-image-placeholder i {
    font-size: 4rem;
    color: var(--text-muted);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.service-features li i {
    color: var(--accent-yellow);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-yellow);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.badge-construction {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* ============================================
   Benefits Grid
   ============================================ */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.benefit-item:hover {
    border-color: var(--accent-yellow);
    transform: translateX(5px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-hover));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.25rem;
}

.benefit-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   Timeline / Steps
   ============================================ */

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-yellow), var(--primary-blue));
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 70px;
    }
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    z-index: 1;
    box-shadow: 0 0 0 6px var(--bg-primary);
}

@media (max-width: 768px) {
    .timeline-marker {
        left: 30px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

.timeline-content {
    width: calc(50% - 60px);
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .timeline-content {
        width: 100%;
    }
}

.timeline-content h4 {
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 90%, rgba(251, 191, 36, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(251, 191, 36, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

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

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 768px) {
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   Footer
   ============================================ */

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

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--text-primary);
}

/* Ensure 'THOR' gets the requested accent color even inside .footer-brand */
.footer-brand .brand-thor {
    color: #11a5c4;
}

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

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.footer-contact li i {
    color: var(--accent-yellow);
    width: 20px;
}

.footer-contact a {
    color: var(--text-secondary);
}

.footer-contact a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-tertiary);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    font-size: 1.1rem;
}

.social-icons a:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ============================================
   Scroll Animations
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ============================================
   PDF Grid
   ============================================ */

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pdf-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-fast);
}

.pdf-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-5px);
}

.pdf-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.pdf-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pdf-card p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* ============================================
   Use Cases Grid
   ============================================ */

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.use-case-item {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.use-case-item:hover {
    background: var(--accent-yellow);
    color: var(--primary-blue);
}

.use-case-item i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-yellow);
}

.use-case-item:hover i {
    color: var(--primary-blue);
}

/* ============================================
   Utilities
   ============================================ */

.text-accent {
    color: var(--accent-yellow) !important;
}

.bg-accent {
    background-color: var(--accent-yellow) !important;
}

.mb-6 {
    margin-bottom: 4rem !important;
}

.mt-6 {
    margin-top: 4rem !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow);
}

/* Selection */
::selection {
    background: var(--accent-yellow);
    color: var(--primary-blue);
}

/* ============================================
   Cookie Banner
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 2px solid var(--accent-yellow);
    box-shadow: var(--card-shadow);
    padding: 1rem 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cookie-text i {
    color: var(--accent-yellow);
    margin-right: 0.5rem;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

.cookie-actions .btn {
    white-space: nowrap;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-bottom: 0.5rem;
    }
    
    .cookie-actions {
        justify-content: center;
    }
}

/* Brand accent for THOR */
.brand-thor {
    color: #11a5c4;
}

/* Color Font Awesome icons inside cards to match THOR accent */
.card i.fas, .card i.far, .card i.fab, .card .fa {
    color: #11a5c4;
}


/* ============================================
   Form Styling Enhancements
   ============================================ */

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.form-label i {
    color: var(--accent-yellow);
    font-size: 0.9rem;
}

.form-control, .form-select {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
    background-color: var(--bg-secondary);
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-check-input {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.form-check-label {
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.form-check-label a {
    color: var(--accent-yellow);
    text-decoration: underline;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ff9a14' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Light mode form adjustments */
[data-theme="light"] .form-control,
[data-theme="light"] .form-select,
[data-theme="light"] .form-check-input {
    background-color: #f8f9fa;
    color: var(--text-primary);
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] .form-select:focus {
    background-color: #ffffff;
}

/* Button improvements for forms */
.btn-outline-success {
    color: #10b981;
    border-color: #10b981;
}

.btn-outline-success:hover {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
}
