/* ============================================
   Red Queen Security - Warm Professional Theme
   Light cream base with crimson accents
   ============================================ */

:root {
    /* Warm Light Base - Welcoming & Professional */
    --bg-dark: #F8F6F3;
    --bg-medium: #EFEBE6;
    --bg-card: #FFFFFF;
    --bg-elevated: #F2EEEA;
    
    /* Dark text for light backgrounds */
    --text-light: #2C2426;
    --text-muted: #5C5456;
    --text-dim: #8A8284;
    
    /* Rich Red Queen colors */
    --crimson: #A8294A;
    --crimson-light: #C43D5E;
    --crimson-dark: #7A1E38;
    --crimson-muted: #8E3048;
    
    /* Warm accents */
    --rose: #D4707A;
    --rose-light: #E8A5AC;
    --gold: #C49A3D;
    --gold-muted: #B08A32;
    --forest: #4A7C59;
    
    /* Checkerboard - elegant contrast */
    --check-light: #FAF7F5;
    --check-dark: #2C2426;
    
    /* Typography */
    --font-display: 'Crimson Pro', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --container: 1200px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-light);
}

h1 { 
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 500;
    font-style: italic;
}

h2 { 
    font-size: clamp(1.875rem, 4vw, 2.75rem);
}

h3 { 
    font-size: 1.375rem;
}

h4 {
    font-size: 1.125rem;
}

/* Animated Rose Vines */
.decoration-left,
.decoration-right {
    position: fixed;
    top: 0;
    width: 100px;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    opacity: 0.5;
}

.decoration-left {
    left: 0;
}

.decoration-right {
    right: 0;
}

.decoration-left svg,
.decoration-right svg {
    width: 100%;
    height: 100%;
}

.vine {
    stroke: var(--forest);
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    animation: drawVine 3s ease-out forwards;
}

@keyframes drawVine {
    to { stroke-dashoffset: 0; }
}

.rose {
    opacity: 0;
    animation: bloomRose 0.6s ease-out forwards;
}

.decoration-left .rose:nth-of-type(1) { animation-delay: 1s; }
.decoration-left .rose:nth-of-type(2) { animation-delay: 1.8s; }
.decoration-left .rose:nth-of-type(3) { animation-delay: 2.4s; }
.decoration-right .rose:nth-of-type(1) { animation-delay: 1.2s; }
.decoration-right .rose:nth-of-type(2) { animation-delay: 2s; }
.decoration-right .rose:nth-of-type(3) { animation-delay: 2.6s; }

@keyframes bloomRose {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Floating elements */
.floating-roses {
    display: none;
}

/* Top Bar */
.top-bar {
    background: var(--crimson);
    color: #FFF;
    padding: 0.75rem 1rem;
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.top-bar-icon {
    width: 18px;
    height: 18px;
    color: #FFD700;
    flex-shrink: 0;
}

.top-bar-cta {
    background: #FFFFFF;
    color: var(--crimson);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.2s var(--ease);
}

.top-bar-cta:hover {
    background: var(--gold);
    color: #FFF;
    transform: scale(1.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    border: none;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--crimson);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(168, 41, 74, 0.35);
}

.btn-primary:hover {
    background: var(--crimson-light);
    box-shadow: 0 6px 30px rgba(168, 41, 74, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--crimson);
    border: 2px solid var(--crimson);
}

.btn-outline:hover {
    background: var(--crimson);
    color: #FFF;
}

.btn-nav {
    padding: 0.75rem 1.5rem;
    background: var(--crimson);
    color: #FFFFFF;
    font-size: 0.875rem;
}

.btn-nav:hover {
    background: var(--crimson-light);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--bg-medium);
    transition: all 0.3s var(--ease);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--text-light);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.375rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--crimson);
}

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

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
    color: var(--rose);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.mobile-toggle.active span:first-child {
    transform: rotate(45deg) translate(4px, 6px);
}

.mobile-toggle.active span:last-child {
    transform: rotate(-45deg) translate(4px, -6px);
}

/* Hero with checkerboard */
.hero {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Checkerboard Floor */
.checkered-floor {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, var(--check-light) 25%, transparent 25%),
        linear-gradient(-45deg, var(--check-light) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--check-light) 75%),
        linear-gradient(-45deg, transparent 75%, var(--check-light) 75%);
    background-color: var(--check-dark);
    background-size: 80px 80px;
    background-position: 0 0, 0 40px, 40px -40px, -40px 0px;
    transform: perspective(600px) rotateX(55deg) translateY(10%) scale(2.2);
    transform-origin: center bottom;
    opacity: 0.7;
    z-index: 0;
}

/* Characters Layer */
.characters-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

/* Queen Container - Left Side */
.queen-container {
    position: absolute;
    left: 3%;
    bottom: 2%;
    width: 350px;
    height: 560px;
    z-index: 5;
}

.queen-circle {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(ellipse at center, rgba(168, 41, 74, 0.6) 0%, rgba(168, 41, 74, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
}

.red-queen-character {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 520px;
    width: auto;
    object-fit: contain;
    opacity: 1 !important;
    filter: drop-shadow(10px 15px 30px rgba(0, 0, 0, 0.9)) saturate(1.5) contrast(1.3) brightness(1.15);
    animation: queenFloat 4s ease-in-out infinite;
}

@keyframes queenFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-12px); }
}

/* Hacker Container - Right Side */
.hacker-container {
    position: absolute;
    right: 3%;
    bottom: 2%;
    width: 320px;
    height: 520px;
    z-index: 5;
}

.hacker-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(ellipse at center, rgba(0, 80, 0, 0.4) 0%, rgba(0, 60, 0, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
}

.hacker-character {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 480px;
    width: auto;
    object-fit: contain;
    opacity: 1 !important;
    filter: drop-shadow(10px 15px 30px rgba(0, 0, 0, 0.9)) saturate(1.4) contrast(1.25) brightness(1.15);
    animation: hackerFloat 4.5s ease-in-out infinite;
}

@keyframes hackerFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        transparent 0%,
        transparent 60%,
        rgba(248, 246, 243, 0.9) 85%,
        var(--bg-dark) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Responsive characters */
@media (max-width: 1200px) {
    .queen-container {
        width: 260px;
        height: 400px;
        left: 2%;
    }
    
    .red-queen-character {
        height: 360px;
    }
    
    .queen-circle {
        width: 220px;
        height: 220px;
    }
    
    .hacker-container {
        width: 240px;
        height: 380px;
        right: 2%;
    }
    
    .hacker-character {
        height: 340px;
    }
    
    .hacker-glow {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .queen-container {
        width: 180px;
        height: 280px;
        left: 1%;
        bottom: 2%;
    }
    
    .red-queen-character {
        height: 250px;
    }
    
    .queen-circle {
        width: 150px;
        height: 150px;
    }
    
    .hacker-container {
        width: 160px;
        height: 260px;
        right: 1%;
    }
    
    .hacker-character {
        height: 230px;
    }
    
    .hacker-glow {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .characters-layer {
        display: none;
    }
}

.hero-content {
    position: relative;
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 0.8s var(--ease);
    z-index: 10;
    background: radial-gradient(ellipse at center, rgba(248, 246, 243, 0.95) 0%, rgba(248, 246, 243, 0.85) 50%, transparent 80%);
    padding: 3rem 4rem;
    border-radius: 20px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--crimson);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--crimson);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(168, 41, 74, 0.15);
}

.crown-icon {
    width: 20px;
    height: 20px;
    color: var(--gold-muted);
}

.hero-kicker {
    font-size: 1.05rem;
    color: var(--crimson);
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hero-kicker .kicker-attr {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-style: normal;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.text-accent {
    color: var(--crimson-light);
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

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

/* Stats - Playing Cards */
.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2C2426 0%, #3A3032 100%);
    position: relative;
}

.stats .stat-value {
    color: #FFFFFF;
}

.stats-sources {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.stats .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.stats .card-inner {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.stats .card-inner .stat-value {
    color: var(--crimson);
}

.stats .card-inner .stat-label {
    color: var(--text-muted);
}

.stats .card-corner {
    color: var(--crimson);
}

.stats .card-suit-large {
    color: var(--crimson);
    opacity: 0.08;
}

.stats .playing-card.featured .card-inner {
    background: linear-gradient(135deg, #FFFDF8 0%, #FFF8F0 100%);
    border-color: var(--gold);
}

.stats .playing-card.featured .stat-value {
    color: var(--gold-muted);
}

.stats .playing-card:hover .card-inner {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.playing-card {
    perspective: 1000px;
    cursor: default;
}

.card-inner {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--bg-medium);
    border-radius: 16px;
    padding: 1.5rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s var(--ease);
    opacity: 0;
    transform: translateY(30px);
}

.playing-card.visible .card-inner {
    opacity: 1;
    transform: translateY(0);
}

.playing-card:hover .card-inner {
    border-color: var(--crimson);
    box-shadow: 0 12px 40px rgba(168, 41, 74, 0.15);
    transform: translateY(-8px);
}

.playing-card.featured .card-inner {
    border-color: var(--gold-muted);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(212, 168, 75, 0.08) 100%);
}

/* Card corners */
.card-corner {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--crimson);
}

.card-corner.top-left {
    top: 12px;
    left: 12px;
}

.card-corner.bottom-right {
    bottom: 12px;
    right: 12px;
    transform: rotate(180deg);
}

.card-rank {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
}

.card-suit-icon {
    width: 14px;
    height: 14px;
}

.card-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.06;
}

.card-suit-large {
    width: 90px;
    height: 90px;
    color: var(--crimson);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.playing-card.featured .stat-value {
    color: var(--gold);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 160px;
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--crimson-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-icon {
    width: 18px;
    height: 18px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    margin-top: 1rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* Platform - Royal Cards */
.platform {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #FDF8F6 50%, var(--bg-dark) 100%);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.royal-card {
    background: var(--bg-card);
    border: 2px solid var(--bg-medium);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s var(--ease);
}

.royal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.royal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--crimson-muted);
}

.royal-card.queen {
    border-color: var(--crimson);
}

.royal-card-header {
    background: var(--bg-medium);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.royal-card.queen .royal-card-header {
    background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
}

.royal-card.queen .royal-card-header .royal-rank {
    color: #FFF;
}

.royal-card.queen .royal-card-header .royal-suit {
    color: #FFF;
}

.royal-suit {
    width: 24px;
    height: 24px;
    color: var(--crimson);
}

.royal-rank {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.royal-card-body {
    padding: 2rem;
    text-align: center;
}

.platform-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--crimson);
}

.platform-icon svg {
    width: 100%;
    height: 100%;
}

.royal-card h3 {
    margin-bottom: 1rem;
}

.royal-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Services */
.services {
    background: linear-gradient(135deg, #FAF5F3 0%, #F0E8E4 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 2px solid var(--bg-medium);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--crimson-muted);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-card.featured {
    border-color: var(--crimson);
}

.service-badge {
    position: absolute;
    top: -14px;
    right: 2rem;
    background: var(--gold-muted);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 4px 15px rgba(212, 168, 75, 0.3);
}

.service-badge svg {
    width: 14px;
    height: 14px;
}

.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
    color: var(--crimson);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.service-card ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.service-card li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--crimson);
    clip-path: path('M5 0C2 1 0 3 0 5s2 4 5 6c3-2 5-4 5-6s-2-4-5-5z');
}

/* Testimonial */
.testimonial {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #F5EFEB 100%);
    padding: 6rem 0;
}

.testimonial-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    border: 2px solid var(--bg-medium);
    border-radius: 24px;
    padding: 4rem 3rem;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.quote-cards {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.quote-card {
    width: 40px;
    height: 54px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.quote-card rect {
    fill: #FFFFFF;
    stroke: var(--crimson);
}

.quote-card path {
    fill: var(--crimson);
}

.quote-card text {
    fill: var(--crimson);
}

.quote-card.left {
    transform: rotate(-8deg);
}

.quote-card.right {
    transform: rotate(8deg);
}

blockquote {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.6;
    margin: 1rem 0 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
}

.author-avatar svg {
    width: 24px;
    height: 24px;
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: var(--text-light);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Contact */
.contact {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #FAF6F4 100%);
    padding-bottom: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-tag {
    justify-content: flex-start;
}

.contact-info h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-info > p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9375rem;
}

.feature-check {
    width: 28px;
    height: 28px;
    background: var(--crimson);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check svg {
    width: 14px;
    height: 14px;
    color: #FFF;
}

.contact-form {
    background: var(--bg-card);
    border: 2px solid var(--bg-medium);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-elevated);
    border: 2px solid var(--bg-medium);
    border-radius: 10px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--crimson);
    box-shadow: 0 0 0 4px rgba(184, 48, 79, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C5456' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Footer */
.footer {
    background: #2C2426;
    padding: 3rem 0 2rem;
    border-top: none;
}

.footer .logo,
.footer .footer-brand p,
.footer .footer-links a,
.footer .footer-bottom p {
    color: rgba(255, 255, 255, 0.85);
}

.footer .logo-icon {
    color: var(--crimson-light);
}

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

.footer .footer-cards svg {
    color: var(--crimson-light);
    opacity: 0.6;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-cards {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-cards svg {
    width: 16px;
    height: 16px;
    color: var(--crimson);
    opacity: 0.5;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.8125rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .decoration-left,
    .decoration-right {
        display: none;
    }
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .top-bar-icon {
        display: none;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s var(--ease);
        border-left: 2px solid var(--bg-medium);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a:not(.btn) {
        font-size: 1rem;
    }
    
    .btn-nav {
        width: 100%;
        justify-content: center;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero {
        padding: 3rem 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .card-inner {
        min-height: 240px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card ul {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }
    
    blockquote {
        font-size: 1.125rem;
    }
    
    .testimonial-content {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .royal-card-body,
    .service-card {
        padding: 1.5rem;
    }
    
    .stat-value {
        font-size: 2.75rem;
    }
    
    .top-bar-cta {
        display: none;
    }
}

/* Selection */
.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
    min-height: 1.2em;
}

.form-status.success {
    color: var(--forest);
    font-weight: 600;
}

.form-status.error {
    color: var(--crimson);
    font-weight: 600;
}

.form-status a {
    color: inherit;
    text-decoration: underline;
}

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: progress;
}

::selection {
    background: var(--crimson);
    color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--text-dim);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--crimson-muted);
}
