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

/* Variables */
:root {
    --bg-dark: #070a13;
    --bg-card: #0f1626;
    --bg-card-hover: #162035;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.25);
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-glow: rgba(245, 158, 11, 0.25);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --glass-bg: rgba(15, 22, 38, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

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

/* Background Gradients & Glow Blobs */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(7, 10, 19, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.glow-top-right {
    top: -10%;
    right: -10%;
}

.glow-bottom-left {
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(7, 10, 19, 0) 70%);
}

/* Header & Nav */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, var(--text-main) 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: var(--accent);
}

.logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem;
    width: 240px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 10;
    backdrop-filter: blur(16px);
}

.dropdown:hover .dropdown-menu {
    display: flex;
    animation: fadeInUp 0.25s forwards;
}

.dropdown-item {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--accent);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-accent {
    background-color: var(--accent);
    color: #070a13;
    border: none;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: var(--accent);
    color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--accent) 30%, #fef08a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Image Styling */
.hero-image-container {
    position: relative;
    max-width: 400px;
    width: 100%;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, border-color 0.6s ease;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 10, 19, 0) 60%, rgba(7, 10, 19, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-container:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(245, 158, 11, 0.2);
    border-color: var(--accent);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.04);
}



/* Zone Selector Section (Interactive) */
.zone-selector-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(15, 22, 38, 0.4), transparent);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header h2 span {
    color: var(--accent);
}

.section-header p {
    color: var(--text-muted);
}

.zone-selector-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    box-shadow: var(--shadow-lg);
}

.zone-selector-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.zone-selector-left h3 {
    font-size: 1.5rem;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.zone-select {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(7, 10, 19, 0.6);
    border: 1px solid var(--border-hover);
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: var(--transition);
}

.zone-select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.8rem;
    color: var(--text-muted);
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.zone-result {
    min-height: 200px;
    background: rgba(7, 10, 19, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.zone-result-placeholder {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

.partner-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeIn 0.4s ease-out;
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.partner-phone {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.partner-phone svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.partner-link {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* Feature Grid (Lock Types) */
.grid-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md), 0 0 20px rgba(245, 158, 11, 0.05);
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card:hover .card-icon {
    background: rgba(245, 158, 11, 0.1);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
    transition: var(--transition);
}

.card:hover .card-icon svg {
    fill: var(--accent);
}

.card h3 {
    font-size: 1.25rem;
}

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

.card-link {
    align-self: flex-start;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-link:hover {
    color: var(--text-main);
}

/* About Brief Section */
.about-brief {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.badge-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.badge-card h4 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.badge-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Layout for Secondary Pages (Sidebar & Content) */
.page-header {
    padding: 6rem 2rem 3rem;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), transparent);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-breadcrumbs {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.page-breadcrumbs a:hover {
    color: var(--accent);
}

.main-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem;
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 3.5rem;
}

.content-area {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-section h2 {
    font-size: 1.75rem;
    color: var(--text-main);
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.content-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.content-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.content-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-muted);
}

.content-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-list-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-list-link:hover {
    color: var(--accent);
    padding-left: 4px;
}

.partner-card {
    background: rgba(7, 10, 19, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.partner-card:last-child {
    margin-bottom: 0;
}

.partner-card-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.partner-card-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.partner-card-link {
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.sidebar-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    border: none;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

.sidebar-banner h3 {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Contact Multi-step Form */
.contact-container {
    max-width: 680px;
    margin: 4rem auto 6rem;
    padding: 0 2rem;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 3rem;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.form-step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-muted);
    z-index: 2;
    transition: var(--transition);
}

.form-step-indicator.active {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.form-step-indicator.completed {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #070a13;
}

.form-step-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.form-step-content.active {
    display: block;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input, .form-group textarea {
    padding: 0.9rem 1.25rem;
    background: rgba(7, 10, 19, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.15);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image svg {
    width: 60px;
    height: 60px;
    fill: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.blog-card:hover .blog-card-image svg {
    fill: var(--accent);
    transform: scale(1.1);
}

.blog-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-card h3 {
    font-size: 1.25rem;
}

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

/* Footer */
footer {
    background-color: #03050a;
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 2.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.footer-logo svg {
    width: 32px;
    height: 32px;
    fill: var(--accent);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background-color: var(--accent);
    color: #070a13;
    border-color: var(--accent);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--text-main);
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 15px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Scroll To Top Button */
.totop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 99;
}

.totop.visible {
    opacity: 1;
    pointer-events: auto;
}

.totop:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-4px);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 6rem;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .zone-selector-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .about-brief {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .mobile-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.02);
        margin-top: 0.5rem;
    }
    
    .dropdown:hover .dropdown-menu {
        animation: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==============================================================================
   Cookie Consent Banner (GDPR Glassmorphic Style)
   ============================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    max-width: 600px;
    width: calc(100% - 48px);
    background: rgba(15, 22, 38, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
    opacity: 0;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-content {
    margin-bottom: 1.25rem;
}

.cookie-content h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-content h4 svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
}

.cookie-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-content a:hover {
    color: var(--accent-hover);
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: var(--accent);
    color: #070a13;
    border: none;
}

.cookie-btn-accept:hover {
    background: var(--accent-hover);
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

@media (max-width: 640px) {
    .cookie-banner {
        bottom: 16px;
        width: calc(100% - 32px);
        padding: 1.25rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* Cookie Settings Floating Button */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 22, 38, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    animation: fadeIn 0.5s ease-out 2s both;
}
.cookie-settings-btn:hover {
    background: rgba(15, 22, 38, 1);
    border-color: var(--accent);
    transform: scale(1.1);
}
.cookie-settings-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--accent);
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.cookie-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Cookie Modal */
.cookie-modal {
    background: rgba(15, 22, 38, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    max-width: 540px;
    width: calc(100% - 32px);
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-modal-overlay.show .cookie-modal {
    transform: scale(1) translateY(0);
}
.cookie-modal h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.cookie-modal > p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.cookie-modal > p a {
    color: var(--accent);
    text-decoration: underline;
}

/* Cookie Category Row */
.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.cookie-cat-info h4 {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}
.cookie-cat-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 380px;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    margin-left: 1rem;
}
.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-toggle .slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    cursor: pointer;
    transition: 0.3s;
}
.cookie-toggle .slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: 0.3s;
}
.cookie-toggle input:checked + .slider {
    background: var(--accent);
}
.cookie-toggle input:checked + .slider::before {
    transform: translateX(22px);
    background: #070a13;
}
.cookie-toggle input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Modal Footer Buttons */
.cookie-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 480px) {
    .cookie-modal-actions {
        flex-direction: column;
    }
    .cookie-modal-actions .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

