:root {
    --primary-color: #3A6EA5;
    --secondary-color: #FAFAFA;
    --accent-color: #FF8A5C;
    --neutral-color: #E5E5E5;
    --text-color: #222222;
    --dark-bg: #0a0e1a;
    --mid-bg: #141a2e;
    --light-accent: #2a4a6e;
    --quantum-blue: #4a9eff;
    --electric-accent: #00d4ff;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(74, 158, 255, 0.3);
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Cormorant Garamond', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--secondary-color);
    line-height: 1.6;
    background: linear-gradient(135deg, #0a0e1a 0%, #141a2e 50%, #1a2642 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(74, 158, 255, 0.1) 0%, transparent 50%), radial-gradient(ellipse at bottom, rgba(255, 138, 92, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.particle-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle-field::before,
.particle-field::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.particle-field::before {
    background: radial-gradient(circle, var(--quantum-blue) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-field::after {
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    bottom: 20%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 2;
}

.main-header {
    padding: var(--space-md) 0;
    position: relative;
    z-index: 100;
    background: rgba(10, 14, 26, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 158, 255, 0.1);
    transition: transform var(--transition-base);
}

.main-header.hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 1.25rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.brand-logo:hover {
    color: var(--quantum-blue);
    transform: translateY(-2px);
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--quantum-blue);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.logo-text {
    font-family: var(--font-secondary);
}

.main-nav {
    display: flex;
    gap: var(--space-md);
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    position: relative;
}



.nav-link:hover,
.nav-link.active {
    color: var(--quantum-blue);
}



.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--secondary-color);
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.hero-section {
    padding: var(--space-xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url("../images/hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
    z-index: 1001;
    position: relative;
    background: rgba(10, 14, 26, 0.6);
    padding: var(--space-lg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--quantum-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 3s ease-in-out infinite;
}

@keyframes titleShimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(250, 250, 250, 0.8);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(255, 138, 92, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

.floating-card.card-1 {
    width: 200px;
    height: 250px;
    top: 0;
    left: 0;
    animation: float3d 8s ease-in-out infinite;
}

.floating-card.card-2 {
    width: 180px;
    height: 220px;
    bottom: 50px;
    right: 50px;
    animation: float3d 10s ease-in-out infinite;
    animation-delay: -3s;
}

.floating-card.card-3 {
    width: 160px;
    height: 200px;
    top: 100px;
    right: 0;
    animation: float3d 12s ease-in-out infinite;
    animation-delay: -6s;
}

@keyframes float3d {
    0%, 100% {
        transform: translateY(0) rotateY(0deg) rotateX(0deg);
    }
    50% {
        transform: translateY(-20px) rotateY(10deg) rotateX(5deg);
    }
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--quantum-blue) 100%);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(74, 158, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--quantum-blue);
}

.btn-secondary:hover {
    background: rgba(74, 158, 255, 0.1);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.features-section,
.categories-section,
.inspiration-section,
.location-section,
.products-section,
.product-categories,
.cta-section,
.about-story,
.culture-section,
.values-section,
.team-section,
.contact-main,
.map-section,
.page-hero,
.thankyou-section,
.error-section,
.legal-page {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--secondary-color);
}

.section-desc {
    font-size: 1.1rem;
    color: rgba(250, 250, 250, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid,
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.feature-card,
.category-card {
    background: rgba(20, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(74, 158, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover,
.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--quantum-blue);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before,
.category-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--quantum-blue) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--secondary-color);
}

.feature-text {
    color: rgba(250, 250, 250, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.category-visual {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    height: 200px;
}

.category-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover .category-visual img {
    transform: scale(1.1) rotate(2deg);
}

.category-info {
    position: relative;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--secondary-color);
}

.category-desc {
    color: rgba(250, 250, 250, 0.7);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--quantum-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
}

.category-link:hover {
    gap: var(--space-sm);
    color: var(--electric-accent);
}

.inspiration-section {
    background: rgba(20, 26, 46, 0.4);
    backdrop-filter: blur(5px);
}

.inspiration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.inspiration-text .section-title {
    text-align: left;
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.inspiration-desc {
    color: rgba(250, 250, 250, 0.8);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.inspiration-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
}

.inspiration-visual img:hover {
    transform: scale(1.05) rotate(1deg);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(20, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.info-item:hover {
    border-color: var(--quantum-blue);
    transform: translateX(5px);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--quantum-blue);
    margin-top: 5px;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--secondary-color);
}

.info-text p,
.info-text a {
    color: rgba(250, 250, 250, 0.8);
    text-decoration: none;
    transition: color var(--transition-base);
}

.info-text a:hover {
    color: var(--quantum-blue);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    background: rgba(20, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--quantum-blue);
    box-shadow: var(--shadow-glow);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff6b3d 100%);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.product-info {
    padding: var(--space-lg);
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--secondary-color);
}

.product-desc {
    color: rgba(250, 250, 250, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--quantum-blue);
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.category-item {
    padding: var(--space-lg);
    background: rgba(20, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
}

.category-item:hover {
    transform: translateY(-5px);
    border-color: var(--quantum-blue);
}

.category-item i {
    font-size: 2.5rem;
    color: var(--quantum-blue);
    margin-bottom: var(--space-md);
    display: block;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--secondary-color);
}

.category-count {
    color: rgba(250, 250, 250, 0.7);
    font-size: 0.9rem;
}

.cta-section {
    text-align: center;
    background: rgba(20, 26, 46, 0.4);
    backdrop-filter: blur(5px);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--secondary-color);
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(250, 250, 250, 0.8);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.story-content,
.values-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.story-text,
.values-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.story-text .section-title,
.values-text .section-title {
    text-align: left;
    font-size: 2rem;
}

.story-para {
    color: rgba(250, 250, 250, 0.8);
    line-height: 1.7;
}

.story-visual img,
.values-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
}

.story-visual img:hover,
.values-visual img:hover {
    transform: scale(1.05) rotate(-1deg);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.culture-card {
    padding: var(--space-lg);
    background: rgba(20, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
}

.culture-card:hover {
    transform: translateY(-5px);
    border-color: var(--quantum-blue);
    box-shadow: var(--shadow-glow);
}

.culture-card i {
    font-size: 2.5rem;
    color: var(--quantum-blue);
    margin-bottom: var(--space-md);
    display: block;
}

.culture-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--secondary-color);
}

.culture-text {
    color: rgba(250, 250, 250, 0.7);
    line-height: 1.6;
}

.value-item {
    margin-bottom: var(--space-lg);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--secondary-color);
}

.value-desc {
    color: rgba(250, 250, 250, 0.8);
    line-height: 1.7;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto var(--space-md);
    color: rgba(250, 250, 250, 0.8);
    line-height: 1.7;
    text-align: center;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
}

.contact-card,
.form-card {
    background: rgba(20, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.contact-heading,
.form-heading {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--secondary-color);
}

.contact-intro,
.form-intro {
    color: rgba(250, 250, 250, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.info-block {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(74, 158, 255, 0.1);
}

.info-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--quantum-blue) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.info-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--secondary-color);
}

.info-value {
    color: rgba(250, 250, 250, 0.8);
    line-height: 1.6;
}

.info-value a {
    color: rgba(250, 250, 250, 0.8);
    text-decoration: none;
    transition: color var(--transition-base);
}

.info-value a:hover {
    color: var(--quantum-blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-label {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    padding: 0.875rem;
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: var(--radius-sm);
    color: var(--secondary-color);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--quantum-blue);
    box-shadow: var(--shadow-glow);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin-top: var(--space-sm);
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: var(--space-sm);
    cursor: pointer;
    color: rgba(250, 250, 250, 0.8);
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-text a {
    color: var(--quantum-blue);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
    margin-top: var(--space-lg);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

.page-hero {
    text-align: center;
    padding: var(--space-xl) 0 var(--space-lg);
}

.page-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--quantum-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(250, 250, 250, 0.7);
}

.thankyou-content,
.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: rgba(20, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: var(--radius-lg);
}

.thankyou-icon,
.error-number {
    font-size: 4rem;
    color: var(--quantum-blue);
    margin-bottom: var(--space-md);
}

.error-number {
    font-family: var(--font-secondary);
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--quantum-blue) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thankyou-title,
.error-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--secondary-color);
}

.thankyou-text,
.thankyou-subtext,
.error-text,
.error-subtext {
    color: rgba(250, 250, 250, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.thankyou-actions,
.error-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.legal-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--quantum-blue);
    text-decoration: none;
    margin-bottom: var(--space-md);
    font-weight: 500;
    transition: all var(--transition-base);
}

.back-link:hover {
    gap: var(--space-sm);
}

.legal-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--secondary-color);
}

.legal-updated {
    color: rgba(250, 250, 250, 0.7);
    font-size: 0.95rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: rgba(20, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: var(--radius-md);
}

.legal-heading {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--secondary-color);
}

.legal-subheading {
    font-size: 1.25rem;
    font-weight: 600;
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--quantum-blue);
}

.legal-text {
    color: rgba(250, 250, 250, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin: var(--space-md) 0;
}

.legal-list li {
    color: rgba(250, 250, 250, 0.8);
    line-height: 1.7;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    position: relative;
}

.legal-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--quantum-blue);
    font-weight: 600;
}

.legal-text a,
.legal-list a {
    color: var(--quantum-blue);
    text-decoration: none;
    transition: color var(--transition-base);
}

.legal-text a:hover,
.legal-list a:hover {
    color: var(--electric-accent);
    text-decoration: underline;
}

.main-footer {
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(74, 158, 255, 0.1);
    padding: var(--space-lg) 0;
    margin-top: var(--space-xl);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--secondary-color);
}

.footer-tagline {
    color: rgba(250, 250, 250, 0.6);
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: rgba(250, 250, 250, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.footer-link:hover {
    color: var(--quantum-blue);
}

.footer-copy {
    color: rgba(250, 250, 250, 0.5);
    font-size: 0.85rem;
}

.privacy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(74, 158, 255, 0.3);
    padding: var(--space-md);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.privacy-popup.active {
    transform: translateY(0);
}

.popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.popup-text {
    color: rgba(250, 250, 250, 0.9);
    font-size: 0.9rem;
    flex: 1;
    min-width: 250px;
}

.popup-text a {
    color: var(--quantum-blue);
    text-decoration: none;
}

.popup-text a:hover {
    text-decoration: underline;
}

.popup-btn {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--quantum-blue) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

@media (max-width: 992px) {
    :root {
        --space-xl: 3rem;
        --space-lg: 2rem;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-visual {
        width: 300px;
        height: 300px;
    }
    .inspiration-content,
    .location-content,
    .story-content,
    .values-content,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .values-content .values-visual {
        order: -1;
    }
    .main-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-md);
        border-bottom: 1px solid rgba(74, 158, 255, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-base);
        z-index: 99;
    }
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        display: flex;
    }
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 105;
    }
    .particle-field::before,
    .particle-field::after {
        width: 200px;
        height: 200px;
    }

    .legal-heading{
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 2.5rem;
        --space-lg: 1.5rem;
        --space-md: 1rem;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .page-title {
        font-size: 2.25rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .hero-visual {
        display: none;
    }
    .hero-section {
        min-height: 60vh;
    }
    .categories-grid,
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .footer-nav {
        flex-direction: column;
        gap: var(--space-sm);
    }
    .thankyou-actions,
    .error-actions {
        flex-direction: column;
        width: 100%;
    }
    .popup-content {
        flex-direction: column;
        text-align: center;
    }
    .popup-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 2rem;
        --space-lg: 1.25rem;
    }
    .hero-title {
        font-size: 1.875rem;
    }
    .page-title {
        font-size: 1.875rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .error-number {
        font-size: 5rem;
    }
    .particle-field::before,
    .particle-field::after {
        display: none;
    }
    .legal-section {
        padding: var(--space-md);
    }
}

@media (max-width: 320px) {
    :root {
        --space-xl: 1.5rem;
        --space-lg: 1rem;
        --space-md: 0.75rem;
    }
    .hero-title {
        font-size: 1.625rem;
    }
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}