/*
 * ALTARS STUDIO - COMPONENTS
 * Reusable UI Components
 */

/* ==========================================
   NAVIGATION
   ========================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: 1.25rem var(--space-lg);
    background: var(--glass-bg-light);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

nav.scrolled {
    padding: 1rem var(--space-lg);
    background: var(--glass-bg-strong);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-base);
}

.logo:hover {
    color: var(--accent-gold);
}

.logo-mark {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transition: transform var(--transition-base);
}

.logo:hover .logo-mark {
    transform: translateY(-2px);
}

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

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: var(--z-base);
    max-width: 1200px;
    padding: 0 var(--space-lg);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Strategic Image Boxes with Animated Borders */
.hero-image-box {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 220px;
    height: 160px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 0;
    opacity: 0.2;
}

.hero-image-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg,
        var(--white),
        var(--accent-gold),
        var(--white),
        var(--accent-gold)
    );
    background-size: 400% 400%;
    border-radius: var(--radius-lg);
    z-index: -1;
    animation: borderGlow 4s ease-in-out infinite;
    opacity: 0.6;
}

.hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
}

@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.section-image-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 3px;
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0.1),
        rgba(212, 175, 106, 0.3),
        rgba(255, 255, 255, 0.1),
        rgba(212, 175, 106, 0.3)
    );
    background-size: 400% 400%;
    animation: borderGlow 4s ease-in-out infinite;
    width: 100%;
    max-width: 1200px;
    height: 180px;
}

.section-image-box img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
    object-position: center;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    text-shadow: 0 0 20px rgba(238, 232, 167, 0.4);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.5;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
}

.hero-cta {
    display: inline-flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
    margin-bottom: var(--space-xl);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    display: inline-block;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 800px;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: var(--space-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--glass-border-strong);
    transform: translateY(-4px);
}

.card:hover::before {
    opacity: 0.6;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   PREMIUM SERVICE CARDS
   ========================================== */

.service-card-premium {
    position: relative;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(15, 15, 15, 0.88);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 8px 24px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 3rem;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(212, 175, 106, 0.4) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(212, 175, 106, 0.4) 75%,
        rgba(255, 255, 255, 0.15) 100%
    );
    background-size: 200% 200%;
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    animation: borderFlow 6s ease infinite;
    transition: opacity 0.4s ease;
}

@keyframes borderFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.9),
        0 12px 32px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 60px rgba(212, 175, 106, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

.service-card-premium:hover::before {
    opacity: 1;
}

.service-card-image {
    position: relative;
    overflow: hidden;
    background: #000;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    transition: opacity 0.4s ease;
}

.service-card-premium:hover .service-card-image::after {
    opacity: 0.5;
}

.service-card-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.service-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.service-tagline {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

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

.service-features li {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 600;
}

.service-card-premium:hover .service-features li {
    color: rgba(255, 255, 255, 0.95);
}

/* Alternate layout (image on right) */
.service-card-premium.layout-reverse {
    grid-template-columns: 1fr 1fr;
}

.service-card-premium.layout-reverse .service-card-image {
    order: 2;
}

.service-card-premium.layout-reverse .service-card-content {
    order: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-card-premium {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .service-card-premium.layout-reverse .service-card-image {
        order: 1;
    }

    .service-card-premium.layout-reverse .service-card-content {
        order: 2;
    }

    .service-card-image {
        min-height: 400px;
    }

    .service-card-content {
        padding: 3rem 2rem;
    }

    .service-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
}

/* ==========================================
   STUDIO & FOUNDER PROFILES
   ========================================== */

.studio-profile {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 0;
    min-height: 700px;
    background: rgba(15, 15, 15, 0.88);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 8px 24px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 4rem;
}

.studio-image {
    position: relative;
    overflow: hidden;
    background: #000;
}

.studio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.studio-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.4) 0%,
        transparent 100%
    );
}

.studio-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.studio-content .section-label {
    margin-bottom: 1rem;
}

.studio-content .section-title {
    margin-bottom: 2rem;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.studio-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.studio-text strong {
    color: var(--white);
    font-weight: 600;
}

.studio-text em {
    color: var(--accent-gold);
    font-style: italic;
}

/* Founder Profile (card-style image) */
.founder-profile {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
    min-height: 700px;
    background: rgba(15, 15, 15, 0.88);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 8px 24px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.founder-image {
    position: relative;
    overflow: hidden;
    background: #000;
    border-right: 3px solid var(--accent-gold);
    margin: 3rem;
    margin-right: 0;
    border-radius: var(--radius-md);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%) contrast(1.1);
}

.founder-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 70% 50%,
        transparent 30%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.founder-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.founder-name {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.founder-title {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
}

.founder-bio {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.founder-bio strong {
    color: var(--white);
}

.founder-achievements {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
}

.founder-achievements li {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.founder-achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 0.6rem;
}

/* Team Member Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-member-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.team-member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #000;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.team-member-card:hover .team-member-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-member-content {
    padding: 2rem;
}

.team-member-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.team-member-role {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.team-member-bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .studio-profile,
    .founder-profile {
        grid-template-columns: 1fr;
    }

    .studio-image {
        min-height: 400px;
    }

    .founder-image {
        min-height: 350px;
        margin: 2rem;
        margin-bottom: 0;
        border-right: none;
        border-bottom: 3px solid var(--accent-gold);
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .studio-content,
    .founder-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   PREMIUM ANIMATED CIRCLES
   ========================================== */

.premium-circle-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Outer rotating ring - subtle gold */
.premium-circle-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(212, 175, 106, 0.4) 90deg,
        transparent 180deg,
        rgba(212, 175, 106, 0.4) 270deg,
        transparent 360deg
    );
    animation: rotateRing 8s linear infinite;
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Middle glass ring */
.premium-circle-icon::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 0, 0, 0.3);
}

/* Inner core circle */
.circle-core {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(212, 175, 106, 0.15) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    border: 2px solid rgba(212, 175, 106, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 0 20px rgba(212, 175, 106, 0.2),
        inset 0 0 15px rgba(212, 175, 106, 0.1);
}

/* Inner glow effect */
.circle-core::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 60%
    );
}

/* Pulse animation on scroll reveal */
@keyframes pulseIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

/* Animate on scroll reveal */
.scroll-reveal .premium-circle-icon .circle-core {
    animation: pulseIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Show outer ring when in view */
.scroll-reveal.revealed .premium-circle-icon::before {
    opacity: 1;
}

/* Hover effects */
.premium-circle-icon:hover::before {
    opacity: 1;
    animation: rotateRing 4s linear infinite;
}

.premium-circle-icon:hover .circle-core {
    transform: scale(1.15);
    border-color: rgba(212, 175, 106, 0.6);
    box-shadow:
        0 0 40px rgba(212, 175, 106, 0.4),
        inset 0 0 25px rgba(212, 175, 106, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg,
        rgba(212, 175, 106, 0.25) 0%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

/* Number/Icon inside circle */
.circle-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    transition: all 0.4s ease;
}

.premium-circle-icon:hover .circle-number {
    font-size: 1.75rem;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(212, 175, 106, 0.6);
}

/* Stagger animation for multiple circles */
.scroll-reveal:nth-child(1) .premium-circle-icon .circle-core {
    animation-delay: 0s;
}

.scroll-reveal:nth-child(2) .premium-circle-icon .circle-core {
    animation-delay: 0.15s;
}

.scroll-reveal:nth-child(3) .premium-circle-icon .circle-core {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .premium-circle-icon {
        width: 70px;
        height: 70px;
    }

    .circle-core {
        width: 50px;
        height: 50px;
    }

    .circle-number {
        font-size: 1.25rem;
    }
}

/* ==========================================
   PREMIUM BLOG CARDS
   ========================================== */

.blog-card-premium {
    position: relative;
    display: block;
    background: rgba(15, 15, 15, 0.88);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 8px 24px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animated border */
.blog-card-premium::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(212, 175, 106, 0.4) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(212, 175, 106, 0.4) 75%,
        rgba(255, 255, 255, 0.15) 100%
    );
    background-size: 200% 200%;
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    animation: borderFlow 6s ease infinite;
    transition: opacity 0.4s ease;
}

.blog-card-premium:hover::before {
    opacity: 1;
}

.blog-card-premium:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.9),
        0 12px 32px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 60px rgba(212, 175, 106, 0.2);
}

.blog-card-content {
    padding: 3rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.blog-date {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.blog-category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.375rem 0.875rem;
    background: rgba(212, 175, 106, 0.15);
    border: 1px solid rgba(212, 175, 106, 0.3);
    border-radius: 4px;
}

.blog-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.blog-card-premium:hover .blog-title {
    color: var(--accent-gold);
}

.blog-excerpt {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.blog-read-more::after {
    content: '→';
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.blog-card-premium:hover .blog-read-more::after {
    transform: translateX(8px);
}

/* Featured badge */
.blog-featured-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg,
        rgba(212, 175, 106, 0.2) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    border: 1px solid rgba(212, 175, 106, 0.4);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    box-shadow: 0 4px 12px rgba(212, 175, 106, 0.2);
}

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-card-content {
        padding: 2rem;
    }

    .blog-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .blog-excerpt {
        font-size: 1rem;
    }
}

/* ==========================================
   CINEMATIC HERO SECTION
   ========================================== */

.hero-cinematic {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 2rem 4rem;
}

/* Full-bleed background image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark gradient overlay for text readability */
.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 15, 15, 0.88) 0%,
        rgba(10, 10, 10, 0.75) 40%,
        rgba(15, 15, 15, 0.80) 60%,
        rgba(10, 10, 10, 0.92) 100%
    );
    z-index: 1;
}

/* Floating glassmorphic content panel */
.hero-content-panel {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 3.5rem 5rem;
    background: rgba(15, 15, 15, 0.90);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius-lg);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.9),
        0 12px 36px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.8);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated border glow */
.hero-content-panel::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(212, 175, 106, 0.4) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(212, 175, 106, 0.4) 75%,
        rgba(255, 255, 255, 0.15) 100%
    );
    background-size: 200% 200%;
    border-radius: var(--radius-lg);
    z-index: -1;
    animation: borderFlow 8s ease infinite;
}

.hero-content-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 40px 110px rgba(0, 0, 0, 0.95),
        0 16px 48px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 80px rgba(212, 175, 106, 0.25);
}

/* Hero content typography enhancements */
.hero-content-panel .hero-tagline {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-content-panel .hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-content-panel .hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content-panel .hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Subtle parallax effect on scroll */
@media (prefers-reduced-motion: no-preference) {
    .hero-background img {
        transform: scale(1.1);
        transition: transform 0.3s ease-out;
    }

    .hero-cinematic.parallax .hero-background img {
        transform: scale(1.1) translateY(var(--parallax-offset, 0));
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-cinematic {
        padding: 6rem 1rem 3rem;
    }

    .hero-content-panel {
        padding: 3rem 2rem;
        width: 95%;
        margin: 0 auto;
    }

    .hero-content-panel .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-content-panel .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Tablet adjustments for better proportions */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content-panel {
        max-width: 1000px;
        padding: 3.5rem 4rem;
    }
}

/* ==========================================
   TACTICAL RADAR ANIMATION
   ========================================== */

.tactical-radar-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tactical-radar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rotating radar sweep */
.radar-sweep {
    transform-origin: 250px 250px;
    animation: radarSweep 4s linear infinite;
}

/* Scanlines animation for CRT effect */
.scanlines {
    animation: scanlineScroll 8s linear infinite;
}

/* Target blips - appear when sweep passes over them */
.blip {
    animation: blipPulse 4s ease-in-out infinite;
}

.blip-1 { animation-delay: 0s; }
.blip-2 { animation-delay: 0.7s; }
.blip-3 { animation-delay: 1.4s; }
.blip-4 { animation-delay: 2.1s; }
.blip-5 { animation-delay: 2.8s; }
.blip-6 { animation-delay: 3.5s; }

/* Radar sweep rotation */
@keyframes radarSweep {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Blip pulse animation */
@keyframes blipPulse {
    0%, 10% {
        opacity: 0;
        transform: scale(0.5);
    }
    12% {
        opacity: 1;
        transform: scale(1.5);
    }
    15% {
        opacity: 0.9;
        transform: scale(1);
    }
    25% {
        opacity: 0.7;
        transform: scale(1);
    }
    40% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    60% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Scanline scroll effect */
@keyframes scanlineScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(500px);
    }
}

/* Range rings subtle pulse */
.range-rings {
    animation: ringPulse 3s ease-in-out infinite alternate;
}

@keyframes ringPulse {
    0% {
        opacity: 0.35;
    }
    100% {
        opacity: 0.45;
    }
}

/* Radial grid subtle flicker */
.radial-grid {
    animation: gridFlicker 5s ease-in-out infinite;
}

@keyframes gridFlicker {
    0%, 100% {
        opacity: 0.22;
    }
    50% {
        opacity: 0.28;
    }
}

/* ==========================================
   GDPR COOKIE CONSENT BANNER
   ========================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 -8px 32px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent-visible {
    transform: translateY(0);
}

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

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h3 {
    font-family: var(--font-display);
}

.cookie-consent-text a {
    transition: color 0.2s ease;
}

.cookie-consent-text a:hover {
    color: var(--white);
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    white-space: nowrap;
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.875rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-text:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-consent-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================
   STATS/METRICS
   ========================================== */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.stat-item {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all var(--transition-base);
}

.stat-item:hover {
    background: var(--accent-glow);
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* ==========================================
   DIVIDERS
   ========================================== */
.section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-gold) 50%,
        transparent 100%
    );
    opacity: 0.3;
    animation: pulseLine 4s ease-in-out infinite;
}

@keyframes pulseLine {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

/* ==========================================
   FORMS
   ========================================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: var(--space-md);
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    padding: 0.875rem 1.25rem;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 1rem;
    transition: all var(--transition-base);
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: var(--black);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer-section h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    color: var(--accent-gold);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* ==========================================
   IMAGE CAROUSEL
   ========================================== */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
}

.carousel-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    opacity: 0.7;
    transition: opacity 0.6s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

/* Carousel Navigation Buttons */
.carousel-btn-prev,
.carousel-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-strong);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.carousel-container:hover .carousel-btn-prev,
.carousel-container:hover .carousel-btn-next {
    opacity: 1;
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

.carousel-btn-prev:hover,
.carousel-btn-next:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev.disabled,
.carousel-btn-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn-prev::before {
    content: '←';
}

.carousel-btn-next::before {
    content: '→';
}

/* Carousel Dots Navigation */
.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    padding: 0.5rem 1rem;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    border: 1px solid var(--glass-border);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 100px;
}

/* Carousel Caption (optional) */
.carousel-caption {
    position: absolute;
    bottom: 4rem;
    left: 2rem;
    right: 2rem;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    z-index: 5;
}

.carousel-caption h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.carousel-caption p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: var(--space-xl);
        transform: translateY(-100%);
        transition: transform var(--transition-smooth);
        gap: var(--space-md);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    /* Carousel mobile adjustments */
    .carousel-btn-prev,
    .carousel-btn-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn-prev {
        left: 0.5rem;
    }

    .carousel-btn-next {
        right: 0.5rem;
    }

    .carousel-dots {
        bottom: 1rem;
        padding: 0.375rem 0.75rem;
        gap: 0.5rem;
    }

    .carousel-caption {
        bottom: 3rem;
        left: 1rem;
        right: 1rem;
        padding: 1rem;
    }

    /* Image boxes responsive */
    .hero-image-box {
        display: none;
    }

    .section-image-box {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
