/* ========================================
   HackerSec - Landing Page Styles
   ======================================== */

/* ----------------------------------------
   CSS Variables
   ---------------------------------------- */
:root {
    --bg-primary: #161619;
    --bg-secondary: #1a1a1f;
    --bg-tertiary: #242429;
    --bg-card: #1e1e24;
    --border-color: #2c2c32;
    --border-subtle: #38383f;
    --text-primary: #fafafa;
    --text-secondary: #94949c;
    --text-muted: #64646c;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-subtle: rgba(37, 99, 235, 0.12);
    --accent-glow: rgba(37, 99, 235, 0.2);
    --redteam: #dc2626;
    --redteam-subtle: rgba(220, 38, 38, 0.08);
    --redteam-glow: rgba(220, 38, 38, 0.12);
    --success: #00c853;
    --warning: #ff9500;
    --danger: #ff3b30;
    --critical: #ff2d55;

    /* Bootstrap variable overrides (foundation for future migration) */
    --bs-body-bg: var(--bg-primary);
    --bs-body-color: var(--text-primary);
    --bs-border-color: var(--border-color);
    --bs-link-color: var(--accent);
    --bs-link-hover-color: var(--accent-hover);
    --bs-primary: #1e3a8a;
    --bs-primary-rgb: 30, 58, 138;
    --bs-danger: var(--redteam);
    --bs-danger-rgb: 220, 38, 38;
    --bs-success: var(--success);
    --bs-warning: var(--warning);
    --bs-font-sans-serif: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bs-body-font-size: 0.9375rem; /* 15px */
    --bs-body-line-height: 1.7;
}

/* ----------------------------------------
   Reset & Base
   ---------------------------------------- */
body * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    scroll-behavior: smooth;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 50% 80% at 0% 50%, rgba(220, 38, 38, 0.09), transparent 50%),
                radial-gradient(ellipse 50% 80% at 100% 50%, rgba(37, 99, 235, 0.11), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
body .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
    background: transparent;
}

body .navbar.scrolled {
    background: rgba(5, 5, 7, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
}

body .nav-container {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 40px;
    position: relative;
}

body .nav-logo {
    display: flex;
    align-items: center;
}

body .nav-logo img {
    height: 15px;
}

body .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 72px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body .nav-links li {
    display: flex;
    align-items: center;
}

body .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.02em;
}

body .nav-links a:hover {
    color: var(--text-primary);
}

body .nav-cta {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
body .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    --bs-btn-padding-y: 12px;
    --bs-btn-padding-x: 24px;
    --bs-btn-font-size: 15px;
    --bs-btn-font-weight: 500;
    --bs-btn-border-radius: 2px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
}

body .btn-ghost {
    --bs-btn-bg: transparent;
    --bs-btn-color: var(--text-primary);
    --bs-btn-border-color: var(--border-subtle);
    --bs-btn-hover-bg: var(--bg-tertiary);
    --bs-btn-hover-border-color: var(--text-muted);
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

body .btn-ghost:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-muted);
}

body .btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: linear-gradient(135deg, #991b1b 0%, #1e3a8a 100%);
    --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: linear-gradient(135deg, #b91c1c 0%, #1e40af 100%);
    --bs-btn-hover-border-color: transparent;
    background: linear-gradient(135deg, #991b1b 0%, #1e3a8a 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(153, 27, 27, 0.2), 0 0 20px rgba(30, 58, 138, 0.2);
}

body .btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #1e40af 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(153, 27, 27, 0.3), 0 4px 24px rgba(30, 58, 138, 0.3);
}

body .btn-lg {
    padding: 16px 32px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
}

/* Gradient Border Button */
.section-cta {
    margin-top: 48px;
    text-align: center;
}

.btn-gradient-border {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
    z-index: 1;
}

.btn-gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, #dc2626 0%, #2563eb 100%);
    border-radius: 3px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.btn-gradient-border:hover {
    transform: translateY(-2px);
    color: #fff;
}

.btn-gradient-border:hover::before {
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.25), 0 8px 24px rgba(37, 99, 235, 0.25);
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 60% 40% at 0% 0%, rgba(220, 38, 38, 0.12), transparent 50%),
                radial-gradient(ellipse 60% 40% at 100% 0%, rgba(37, 99, 235, 0.14), transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-cyber-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.cyber-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: cyberPulse 4s ease-in-out infinite;
}

.cyber-dot:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.cyber-dot:nth-child(2) { top: 25%; left: 85%; animation-delay: 0.5s; }
.cyber-dot:nth-child(3) { top: 60%; left: 15%; animation-delay: 1s; }
.cyber-dot:nth-child(4) { top: 70%; left: 90%; animation-delay: 1.5s; }
.cyber-dot:nth-child(5) { top: 40%; left: 5%; animation-delay: 2s; }
.cyber-dot:nth-child(6) { top: 80%; left: 75%; animation-delay: 2.5s; }
.cyber-dot:nth-child(7) { top: 10%; left: 70%; animation-delay: 3s; }
.cyber-dot:nth-child(8) { top: 55%; left: 95%; animation-delay: 3.5s; }

.cyber-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
    border-radius: 50%;
}

@keyframes cyberPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.85;
        transform: scale(1);
    }
}

.hero-container {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 64px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--accent-subtle);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 3px;
    font-size: 15px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 32px;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.035em;
    line-height: 1.15;
    max-width: 1100px;
    white-space: nowrap;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, #dc2626 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 100px;
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 64px;
    padding-top: 64px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 8px;
    white-space: nowrap;
}

/* ----------------------------------------
   Services Page
   ---------------------------------------- */
.services-hero {
    min-height: 80vh;
    text-align: center;
}

.services-hero .hero-content {
    max-width: 840px;
    margin: 0 auto;
}

.services-hero .hero-content h1 {
    max-width: 760px;
    margin: 0 auto;
}

.services-hero .hero-cta {
    justify-content: center;
    margin-bottom: 0;
}

.services-hero-media {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(8, 8, 12, 0.75), rgba(8, 8, 12, 0.95)),
                      url('../img/og-image.png');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: 0;
}

.services-intro {
    background: linear-gradient(160deg, rgba(220, 38, 38, 0.12), rgba(37, 99, 235, 0.12));
}

.services-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.services-accordion {
    display: grid;
    gap: 12px;
}

.services-accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.services-accordion-trigger {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    text-align: left;
    cursor: pointer;
}

.services-accordion-trigger::after {
    content: '+';
    color: var(--accent);
    font-size: 18px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.services-accordion-item.is-open .services-accordion-trigger::after {
    content: '-';
    color: var(--redteam);
}

.services-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.2s ease;
    opacity: 0;
    padding-right: 8px;
}

.services-accordion-item.is-open .services-accordion-panel {
    opacity: 1;
}

.services-accordion-panel p {
    margin: 0 0 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.services-visual img {
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.services-scope {
    background: radial-gradient(circle at top, rgba(220, 38, 38, 0.12), transparent 60%),
                radial-gradient(circle at bottom, rgba(37, 99, 235, 0.16), transparent 60%);
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.scope-card {
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.25);
    padding: 20px 16px;
    border-radius: 6px;
    text-align: center;
    display: grid;
    gap: 10px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scope-card i {
    font-size: 24px;
    color: var(--text-primary);
}

.services-cta {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.services-authority {
    background: var(--bg-primary);
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.authority-card {
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
    padding: 28px;
    border-radius: 6px;
    display: grid;
    gap: 12px;
}

.authority-card i {
    font-size: 26px;
    color: var(--accent);
}

.authority-card h4 {
    margin: 0;
    font-size: 18px;
}

.authority-card p {
    margin: 0;
    color: var(--text-secondary);
}

.services-contact .signup-container {
    max-width: 820px;
}

/* ----------------------------------------
   Contact Page
   ---------------------------------------- */
.contact-hero {
    min-height: 52vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 80px;
    text-align: center;
}

.contact-hero-media {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.92)),
                      url('../img/og-image.png');
    background-size: cover;
    background-position: center;
    opacity: 0.75;
    z-index: 0;
}

.contact-hero .hero-content h1 {
    font-size: clamp(32px, 4vw, 44px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-form-section {
    background: #000;
}

.contact-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 0 0;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form label {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    padding: 12px 14px;
    color: var(--text-primary);
    font-size: 14px;
}

.contact-form textarea {
    min-height: 140px;
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: var(--redteam);
}

.contact-form .error-message {
    display: none;
    color: var(--redteam);
    font-size: 12px;
}

.contact-form .error-message:not(:empty) {
    display: block;
}

.contact-form .btn-full {
    width: fit-content;
    padding: 10px 30px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}

.contact-addresses {
    background: #000;
    padding-top: 60px;
}

.contact-addresses-header h2 {
    font-size: 18px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.contact-addresses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-bottom: 60px;
}

.address-card h4 {
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

/* ----------------------------------------
   Sections (General)
   ---------------------------------------- */
body section {
    padding: 120px 0;
}

.section-container {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 64px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.section-header {
    max-width: 700px;
    margin-bottom: 72px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 3.5vw, 48px);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ----------------------------------------
   Features / Ambientes Section
   ---------------------------------------- */
.features {
    background: var(--bg-primary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 40% 60% at 0% 30%, rgba(220, 38, 38, 0.05), transparent 50%),
                radial-gradient(ellipse 40% 60% at 100% 70%, rgba(37, 99, 235, 0.07), transparent 50%);
    pointer-events: none;
}

/* Grid layout now handled by Bootstrap row/col-* classes */
.features-grid {
    /* Layout handled by Bootstrap */
}

.feature-card {
    background: transparent;
    border: none;
    padding: 16px 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card:hover .feature-icon {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.feature-icon {
    width: 220px;
    height: 120px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent);
    font-size: 42px;
    transition: all 0.2s ease;
}


.feature-card h3 {
    font-size: 16px;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ----------------------------------------
   Services Accordion
   ---------------------------------------- */
.hs-accordion {
    display: grid;
    gap: 14px;
    max-width: 900px;
    margin: 32px auto 0;
    position: relative;
    z-index: 1;
}

.hs-accordion details {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hs-accordion details[open] {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.hs-accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid transparent;
}

.hs-accordion summary::-webkit-details-marker {
    display: none;
}

.hs-accordion details[open] summary {
    border-bottom-color: var(--border-color);
}

.hs-accordion summary::after {
    content: '+';
    font-size: 18px;
    color: var(--accent);
    margin-left: 16px;
}

.hs-accordion details[open] summary::after {
    content: '-';
    color: var(--redteam);
}

.hs-accordion summary:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.6);
    outline-offset: 2px;
}

.hs-accordion p {
    padding: 0 22px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ----------------------------------------
   How It Works Section
   ---------------------------------------- */
.how-it-works {
    background: var(--bg-secondary);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 35% 50% at 0% 60%, rgba(220, 38, 38, 0.05), transparent 50%),
                radial-gradient(ellipse 35% 50% at 100% 40%, rgba(37, 99, 235, 0.07), transparent 50%);
    pointer-events: none;
}

/* Grid layout now handled by Bootstrap row/col-* classes */
.steps-grid {
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: calc(12.5% + 12px);
    right: calc(12.5% + 12px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--redteam), var(--redteam), var(--accent));
    opacity: 0.4;
    z-index: 0;
}

.step-card {
    position: relative;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    text-align: center;
    z-index: 1;
}

.step-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.step-card:hover .step-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-size: 24px;
    color: var(--accent);
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    position: absolute;
    top: 16px;
    right: 16px;
}

.step-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    font-weight: 600;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ----------------------------------------
   Frameworks Section
   ---------------------------------------- */
.frameworks-section {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Grid layout now handled by Bootstrap row/col-* classes */
.frameworks-grid {
    margin-top: 48px;
}

.framework-item {
    text-align: center;
    padding: 24px;
    transition: transform 0.2s ease;
}

.framework-item:hover {
    transform: translateY(-4px);
}

.framework-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    transition: all 0.2s ease;
}

.framework-item:hover .framework-logo {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.framework-logo img,
.framework-logo svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.framework-item .framework-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.framework-item .framework-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Pentest Real Card */
.pentest-real {
    margin-top: 56px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 3px;
    text-align: center;
    position: relative;
}

.pentest-real::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #dc2626 0%, #2563eb 100%);
    border-radius: 5px;
    z-index: -1;
}

.pentest-real h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.pentest-real p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ----------------------------------------
   Platform Section
   ---------------------------------------- */
.platform-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.platform-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 40% 50% at 0% 80%, rgba(220, 38, 38, 0.06), transparent 50%),
                radial-gradient(ellipse 40% 50% at 100% 80%, rgba(37, 99, 235, 0.08), transparent 50%);
    pointer-events: none;
}

.platform-preview {
    margin-top: 56px;
    position: relative;
    z-index: 1;
}

.platform-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.mockup-header {
    background: var(--bg-tertiary);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }

.mockup-actions {
    display: flex;
    align-items: center;
}

.mockup-btn {
    background: var(--redteam);
    color: #fff;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
}

.mockup-content {
    padding: 32px;
    background: var(--bg-primary);
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.mockup-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    padding: 20px;
    text-align: center;
}

.mockup-stat-label {
    font-size: 15px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.mockup-stat-value {
    font-size: 36px;
    font-weight: 700;
}

.mockup-stat.critical .mockup-stat-value { color: #dd1a2d; }
.mockup-stat.high .mockup-stat-value { color: #DF4656; }
.mockup-stat.medium .mockup-stat-value { color: #ff8000; }
.mockup-stat.low .mockup-stat-value { color: #ffc107; }

.mockup-action-bar {
    margin-bottom: 20px;
}

.mockup-btn-full {
    width: 100%;
    background: var(--redteam);
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s;
}

.mockup-btn-full:hover {
    background: #b91c1c;
}

.mockup-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mockup-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 20px;
}

.mockup-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.mockup-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.mockup-card-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

.mockup-btn-sm {
    background: var(--redteam);
    color: #fff;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.mockup-btn-sm:hover {
    background: #b91c1c;
    color: #fff;
}

.mockup-card-table {
    background: var(--bg-secondary);
    border-radius: 2px;
    overflow: hidden;
}

.mockup-card-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mockup-card-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 12px 14px;
    font-size: 13px;
    border-top: 1px solid var(--border-color);
    align-items: center;
}

.mockup-card-table-row span:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

.mockup-table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.mockup-table-header {
    display: grid;
    grid-template-columns: 2.5fr 1fr 0.8fr 1fr 1.2fr;
    padding: 14px 24px;
    background: var(--bg-tertiary);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mockup-table-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 0.8fr 1fr 1.2fr;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    font-size: 15px;
    align-items: center;
}

.mockup-table-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.mockup-table-row span:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

.mockup-table-row span:nth-child(3) {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ----------------------------------------
   Badges
   ---------------------------------------- */
.severity-badge {
    display: inline-flex;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.severity-badge.critical { background: rgba(221, 26, 45, 0.15); color: #dd1a2d; }
.severity-badge.high { background: rgba(223, 70, 86, 0.15); color: #DF4656; }
.severity-badge.medium { background: rgba(255, 128, 0, 0.15); color: #ff8000; }

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 2px;
}

.status-badge.em-andamento { background: rgba(37, 99, 235, 0.12); color: var(--accent); }
.status-badge.correcao { background: rgba(255, 149, 0, 0.12); color: var(--warning); }
.status-badge.reported { background: rgba(255, 45, 85, 0.12); color: var(--critical); }
.status-badge.fixed { background: rgba(0, 200, 83, 0.12); color: var(--success); }

/* ----------------------------------------
   Differentials Section
   ---------------------------------------- */
.differentials {
    background: var(--bg-primary);
    position: relative;
}

.differentials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 40% 50% at 0% 50%, rgba(220, 38, 38, 0.06), transparent 50%),
                radial-gradient(ellipse 40% 50% at 100% 50%, rgba(37, 99, 235, 0.08), transparent 50%);
    pointer-events: none;
}

.diff-header {
    text-align: center;
    margin-bottom: 64px;
}

.diff-header h2 {
    font-size: 42px;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.diff-header p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid layout now handled by Bootstrap row/col-* classes */
.diff-grid {
    margin-bottom: 64px;
}

.diff-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.2s;
}

.diff-card:hover {
    border-color: var(--accent);
}

.diff-card .icon {
    width: 56px;
    height: 56px;
    background: var(--accent-subtle);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 22px;
    margin: 0 auto 20px;
}

.diff-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.diff-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Comparison Table */
.comparison-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.comparison-title {
    text-align: center;
    margin-bottom: 32px;
}

.comparison-title h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.comparison-title p {
    color: var(--text-secondary);
    font-size: 15px;
}

.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: var(--bg-tertiary);
    padding: 18px 32px;
    font-size: 15px;
    font-weight: 600;
}

.comparison-header span:nth-child(2) { color: #fff; }
.comparison-header span:nth-child(3) { color: var(--text-muted); }
.comparison-header .col-hackersec { color: #fff; text-align: center; }
.comparison-header .col-traditional { color: var(--text-muted); text-align: center; }

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 16px 32px;
    border-top: 1px solid var(--border-color);
    font-size: 15px;
    align-items: center;
}

.comparison-row:hover {
    background: var(--bg-secondary);
}

.comparison-row span:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.check { color: #0dcaf0; text-align: center; }
.check i { margin-right: 6px; }
.cross { color: #ef4444; text-align: center; opacity: 0.7; }
.cross i { margin-right: 6px; }

/* ----------------------------------------
   Pricing Section
   ---------------------------------------- */
.pricing {
    background: var(--bg-secondary);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 35% 60% at 0% 70%, rgba(220, 38, 38, 0.05), transparent 50%),
                radial-gradient(ellipse 35% 60% at 100% 30%, rgba(37, 99, 235, 0.07), transparent 50%);
    pointer-events: none;
}

/* Grid layout now handled by Bootstrap row/col-* classes */
.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}

.pricing-card.featured::before {
    content: 'Recomendado';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    padding: 6px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 2px;
    color: #fff;
}

.pricing-card:hover {
    border-color: var(--border-subtle);
    transform: translateY(-4px);
}

.pricing-card.featured:hover {
    border-color: var(--accent);
}

.pricing-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.7;
}

.pricing-features {
    list-style: none;
    margin-bottom: 36px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--accent);
    margin-top: 4px;
}

.pricing-card .btn {
    width: 100%;
}

/* ----------------------------------------
   Signup Section
   ---------------------------------------- */
.signup-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.signup-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 50% 80% at 0% 50%, rgba(220, 38, 38, 0.08), transparent 50%),
                radial-gradient(ellipse 50% 80% at 100% 50%, rgba(37, 99, 235, 0.1), transparent 50%);
    pointer-events: none;
}

.signup-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 56px 64px;
}

.signup-header {
    text-align: center;
    margin-bottom: 32px;
}

.signup-header h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.signup-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.error-message {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.2);
    color: var(--danger);
    padding: 14px 18px;
    border-radius: 3px;
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-google {
    background: #fff;
    color: #3c4043;
}

.btn-google:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-microsoft {
    background: #2f2f2f;
    color: #fff;
}

.btn-microsoft:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-contact {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-contact:hover {
    border-color: var(--border-subtle);
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.oauth-divider {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
    margin: 8px 0;
}

.oauth-divider::before,
.oauth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.oauth-divider::before { margin-right: 16px; }
.oauth-divider::after { margin-left: 16px; }

.oauth-info {
    margin-top: 32px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.oauth-info h4 {
    font-size: 15px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.oauth-info h4 i {
    color: var(--accent);
}

.oauth-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.oauth-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.oauth-info-item i {
    color: var(--success);
    margin-top: 3px;
}

.signup-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.signup-footer a {
    color: var(--accent);
    text-decoration: none;
}

.signup-footer a:hover {
    text-decoration: underline;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 40px;
}

/* Grid layout now handled by Bootstrap row/col-* classes */
.footer-grid {
    margin-bottom: 64px;
}

.footer-brand img {
    height: 14px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 20px;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--text-primary);
}

/* ----------------------------------------
   Mobile Menu
   ---------------------------------------- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 1000;
    padding: 100px 32px 32px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: var(--accent);
}

.mobile-menu .mobile-cta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu .mobile-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
}

/* ----------------------------------------
   Login Dropdown
   ---------------------------------------- */
.login-dropdown {
    position: relative;
    display: inline-flex;
}

.btn-icon {
    padding: 10px 14px;
    min-width: unset;
}

.btn-icon i {
    font-size: 16px;
}

.login-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.login-dropdown:hover .login-dropdown-menu,
.login-dropdown:focus-within .login-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.login-dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.login-dropdown-menu a:last-child {
    border-bottom: none;
}

.login-dropdown-menu a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Mobile Login Section */
.mobile-login-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.mobile-login-label {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.mobile-login-section .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
    padding: 14px 24px;
}

.mobile-login-section .btn:last-of-type {
    margin-bottom: 0;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-flex;
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.lang-dropdown:hover .lang-dropdown-menu,
.lang-dropdown:focus-within .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.lang-dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.lang-dropdown-menu a:last-child {
    border-bottom: none;
}

.lang-dropdown-menu a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.lang-dropdown-menu a.active {
    color: var(--accent);
}

/* Mobile Language Section */
.mobile-lang-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.mobile-lang-label {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.mobile-lang-section .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
    padding: 14px 24px;
}

.mobile-lang-section .btn:last-of-type {
    margin-bottom: 0;
}

.mobile-lang-section .btn.active {
    color: var(--accent);
    border-color: var(--accent);
}

/* ----------------------------------------
   Modal
   ---------------------------------------- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 100%;
    max-width: 800px;
    padding: 40px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--text-primary);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.modal-form input.error,
.modal-form textarea.error {
    border-color: var(--redteam);
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: var(--text-muted);
}

.modal-form textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-form .error-message {
    display: none;
    color: var(--redteam);
    font-size: 12px;
    margin-top: 6px;
}

.modal-form .error-message:not(:empty) {
    display: block;
}

.modal-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 48px;
    color: var(--success);
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
}

/* ----------------------------------------
   Page Hero (Internal Pages)
   ---------------------------------------- */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 80px;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 60% 40% at 0% 0%, rgba(220, 38, 38, 0.12), transparent 50%),
                radial-gradient(ellipse 60% 40% at 100% 0%, rgba(37, 99, 235, 0.14), transparent 50%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.page-hero .hero-container {
    position: relative;
    z-index: 1;
}

.page-hero .hero-content h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    white-space: normal;
}

.page-hero .hero-description {
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ----------------------------------------
   Legal Content Pages
   ---------------------------------------- */
.legal-section {
    background: var(--bg-primary);
    padding: 80px 0 120px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-content {
    color: var(--text-secondary);
    line-height: 1.9;
}

.legal-content h2 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.legal-content p {
    margin-bottom: 16px;
    font-size: 15px;
}

.legal-content ul,
.legal-content ol {
    margin: 16px 0 24px 24px;
}

.legal-content li {
    margin-bottom: 10px;
    font-size: 15px;
}

.legal-content strong {
    color: var(--text-primary);
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.legal-content table th,
.legal-content table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.legal-content table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
}

.legal-content table td {
    background: var(--bg-secondary);
}

.legal-content .last-update {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-muted);
}

/* ----------------------------------------
   Responsive - Tablet & Below
   ---------------------------------------- */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 42px;
        white-space: normal;
        max-width: 700px;
    }

    .nav-container,
    .hero-container,
    .section-container {
        padding: 0 48px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    /* Grid layouts now handled by Bootstrap responsive classes */

    .pricing-grid {
        max-width: 440px;
        margin: 0 auto;
    }

    .steps-grid::before {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .services-intro-grid {
        grid-template-columns: 1fr;
    }

    .scope-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .authority-grid {
        grid-template-columns: 1fr;
    }

    .contact-addresses-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile menu breakpoint - switch to hamburger menu before overlap */
@media (max-width: 1100px) {
    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .nav-container,
    .hero-container,
    .section-container {
        padding: 0 24px;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .scope-grid {
        grid-template-columns: 1fr;
    }

    .services-hero {
        min-height: auto;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
        white-space: normal;
        max-width: 100%;
        line-height: 1.2;
    }

    .hero h1 br {
        display: none;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-badge {
        font-size: 13px;
        padding: 6px 14px;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    /* Grid layouts now handled by Bootstrap responsive classes */

    .step-card {
        padding: 28px 24px;
    }

    .step-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .diff-header h2 {
        font-size: 32px;
    }

    .diff-card {
        padding: 24px 20px;
    }

    .comparison-wrapper {
        max-width: 100%;
    }

    .comparison-header,
    .comparison-row {
        padding: 14px 16px;
        font-size: 13px;
    }

    .mockup-cards-grid {
        grid-template-columns: 1fr;
    }

    .mockup-card-table-header,
    .mockup-card-table-row {
        grid-template-columns: 2fr 1fr 1fr;
        font-size: 11px;
    }

    .feature-card,
    .step-card {
        padding: 24px;
    }

    .pricing-card {
        padding: 28px;
    }

    .pricing-name {
        font-size: 24px;
    }

    .mockup-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .mockup-table-header,
    .mockup-table-row {
        grid-template-columns: 1fr 1fr;
    }

    .mockup-table-header span:nth-child(3),
    .mockup-table-header span:nth-child(4),
    .mockup-table-header span:nth-child(5),
    .mockup-table-row span:nth-child(3),
    .mockup-table-row span:nth-child(4),
    .mockup-table-row span:nth-child(5) {
        display: none;
    }

    /* Footer grid layout now handled by Bootstrap responsive classes */

    .hero-cta {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 14px;
    }

    .signup-container {
        padding: 32px 24px;
        max-width: 100%;
    }

    .signup-header h2 {
        font-size: 24px;
    }

    .oauth-buttons {
        gap: 12px;
    }

    .btn-oauth {
        padding: 14px 20px;
        font-size: 14px;
    }

    .oauth-info-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 13px;
    }

    .comparison-header,
    .comparison-row {
        font-size: 12px;
        padding: 12px 8px;
    }

    .pentest-real {
        padding: 32px 24px;
    }
}

@media (max-width: 600px) {
    .modal-container {
        padding: 28px 20px;
    }

    .modal-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container,
    .hero-container,
    .section-container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-description {
        font-size: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-number {
        font-size: 32px;
    }

    .mockup-stats {
        grid-template-columns: 1fr;
    }

    .mockup-content {
        padding: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .signup-container {
        padding: 28px 20px;
    }

    .pricing-card {
        padding: 24px;
    }

    .pricing-name {
        font-size: 22px;
    }

    .diff-header h2 {
        font-size: 26px;
    }

    .diff-header p {
        font-size: 15px;
    }

    .diff-card {
        padding: 20px 16px;
    }

    .diff-card .icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .diff-card h4 {
        font-size: 16px;
    }

    .comparison-title h3 {
        font-size: 20px;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        font-size: 11px;
        padding: 10px 8px;
    }

    .framework-item {
        padding: 8px 14px;
    }

    .pentest-real {
        padding: 24px 16px;
    }

    .pentest-real h3 {
        font-size: 18px;
    }
}

/* ----------------------------------------
   About Page Styles
   ---------------------------------------- */

/* Hero Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-split .hero-content {
    text-align: left;
}

.hero-split .hero-content h1 {
    font-size: clamp(32px, 5vw, 48px);
}

.hero-split .hero-stats {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.hero-split .stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-split .stat-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.hero-split .stat-number {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-split .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
    white-space: nowrap;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, var(--border-color) 100%);
}

.timeline-item {
    position: relative;
    padding: 0 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-year {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    text-align: right;
    opacity: 0.6;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Values Grid */
.values-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.value-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(220, 38, 38, 0.03) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-radius: 16px;
    font-size: 24px;
    color: var(--accent);
}

.value-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Intro Section */
.about-intro {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.about-intro-content {
    max-width: 900px;
    margin: 40px auto 0;
}

.about-intro-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-intro-content p:last-child {
    margin-bottom: 0;
}

/* Quote Block */
.quote-block {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.quote-block blockquote {
    max-width: 800px;
    margin: 0 auto;
    font-size: 28px;
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.6;
    font-style: italic;
}

.quote-block blockquote::before {
    content: '"';
    font-size: 80px;
    color: var(--accent);
    display: block;
    margin-bottom: -30px;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-block cite {
    display: block;
    margin-top: 24px;
    font-size: 16px;
    color: var(--text-secondary);
    font-style: normal;
}

/* ----------------------------------------
   Services Page Styles
   ---------------------------------------- */

/* Service Cards Grid - layout now handled by Bootstrap row/col-* classes */
.services-grid {
    margin-top: 60px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card.clickable-card {
    cursor: pointer;
}

a.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.service-card:hover,
a.service-card:focus {
    text-decoration: none;
    color: inherit;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #991b1b 100%);
    border-radius: 14px;
    font-size: 22px;
    color: white;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: gap 0.3s ease;
}

.service-card:hover .service-link {
    gap: 12px;
}

/* Environments Showcase */
.environments-showcase {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.environments-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Grid layout now handled by Bootstrap row/col-* classes */
.env-grid {
    margin-top: 60px;
}

.env-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.env-card:hover {
    border-color: var(--accent);
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(220, 38, 38, 0.05) 100%);
}

.env-card i {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.env-card span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent) 0%, #7f1d1d 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-banner h2 {
    font-size: 32px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    position: relative;
}

.cta-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    position: relative;
}

.cta-banner .btn {
    background: white;
    color: var(--accent);
    border: none;
    font-weight: 600;
    padding: 16px 40px;
    position: relative;
}

.cta-banner .btn:hover {
    background: var(--text-primary);
    color: white;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* Grid layout now handled by Bootstrap row/col-* classes */
.gallery-grid {
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--accent);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Gallery grid layout now handled by Bootstrap responsive classes */

@media (max-width: 576px) {
    .gallery-item {
        border-radius: 12px;
    }
}

/* Locations Map Style */
.locations-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

/* Grid layout now handled by Bootstrap row/col-* classes */
.locations-grid {
    max-width: 800px;
    margin: 60px auto 0;
}

.location-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
}

.location-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.location-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-radius: 50%;
    font-size: 24px;
    color: var(--accent);
}

.location-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.location-info p {
    font-size: 15px;
    color: var(--text-secondary);
}

.location-card-with-map {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-card-with-map .location-card {
    margin-bottom: 0;
}

.location-card-with-map .location-card:hover {
    transform: none;
}

.location-map {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.location-map iframe {
    display: block;
    width: 100%;
}

/* About/Services page mobile responsive */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-split .hero-content {
        text-align: center;
    }

    .hero-split .hero-stats {
        max-width: 500px;
        margin: 0 auto;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Grid layouts now handled by Bootstrap responsive classes */

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 20px;
    }

    .timeline-year {
        text-align: left;
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-split .stat-number {
        font-size: 32px;
    }

    .hero-split .stat-item {
        padding: 24px 16px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .value-card {
        padding: 32px 24px;
    }

    /* Grid layouts now handled by Bootstrap responsive classes */

    .env-card {
        padding: 24px 16px;
    }

    .env-card i {
        font-size: 24px;
    }

    .about-intro-content p {
        font-size: 16px;
        padding: 0 10px;
    }

    .quote-block blockquote {
        font-size: 20px;
        padding: 0 20px;
    }

    .quote-block blockquote::before {
        font-size: 50px;
        margin-bottom: -20px;
    }

    .cta-banner h2 {
        font-size: 24px;
    }

    .cta-banner p {
        font-size: 16px;
    }

    .location-card {
        padding: 28px;
    }

    .timeline-year {
        font-size: 28px;
    }

    .timeline-content h3 {
        font-size: 18px;
    }
}

/* ----------------------------------------
   Mobile Specific Adjustments
   ---------------------------------------- */
@media (max-width: 576px) {
    /* Logo: smaller on mobile */
    body .nav-logo img {
        height: 12px;
    }

    /* Navbar: logo left, menu button right */
    .nav-container {
        justify-content: space-between;
    }

    /* Smaller navbar when scrolled on mobile */
    body .navbar.scrolled {
        padding: 12px 0;
    }

    /* Cards: force single column on small mobile screens */
    .env-grid .col-6,
    .frameworks-grid .col-6,
    .gallery-grid .col-6,
    .services-grid .col-6,
    .features-grid .col-6,
    .diff-grid .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Mobile menu adjustments */
    .mobile-menu {
        padding: 80px 24px 32px;
    }

    .mobile-menu-close {
        top: 20px;
        right: 24px;
    }

    /* Form row: stack fields vertically */
    .form-row {
        grid-template-columns: 1fr !important;
    }

    /* Center stats on index.php mobile */
    .hero-stats .stat-item,
    .hero-stats .col-6,
    .hero-stats .col-3 {
        text-align: center;
    }

    .hero-stats .stat-number,
    .hero-stats .stat-label {
        text-align: center;
    }
}
