/* ============================================
   SMART BURNAID - VIBRANT FULLPAGE DESIGN
   CodeX-Style with Radial Gradients & Particles
   ============================================ */

/* ===== CSS RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Vibrant Color Palette */
    --primary-blue: #1877F2;
    --primary-dark: #0c44b3;
    --accent-cyan: #00d4ff;
    --accent-purple: #7c3aed;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;

    /* Background Colors */
    --bg-dark: #050816;
    --bg-section-1: #0c44b3;
    --bg-section-2: #0d47a1;
    --bg-section-3: #1565c0;
    --bg-section-4: #0d47a1;
    --bg-section-5: #1a237e;
    --bg-section-6: #311b92;
    --bg-section-7: #4a148c;
    --bg-section-8: #0c44b3;

    /* Text Colors */
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);

    /* Gradients */
    --gradient-hero: radial-gradient(50% 50% at 50% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 100%);
    --gradient-glow: radial-gradient(circle, rgba(24, 119, 242, 0.4) 0%, transparent 70%);

    /* Fonts */
    --font-primary: "Poppins", sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Spacing */
    --header-height: 80px;
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow: hidden;
    height: 100%;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow: hidden;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

strong {
    color: var(--accent-cyan);
}

/* Apple-Style Eyebrow Text */
.hero-eyebrow,
.section-eyebrow {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: block;
    text-align: center;
    width: 100%;
}

/* Apple-Style Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Apple-Style Hero Headline */
.hero-headline {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    min-height: 1.5em;
    text-align: center;
    width: 100%;
}

/* Typewriter Effect */
.hero-headline.typewriter {
    display: inline-block;
    padding-right: 4px;
}

@keyframes blink-cursor {

    0%,
    50% {
        border-color: var(--accent-cyan);
    }

    51%,
    100% {
        border-color: transparent;
    }
}

.hero-headline.typewriter[style*="border-right"] {
    animation: blink-cursor 0.8s infinite;
}

/* ===== APPLE-STYLE ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6), 0 0 60px rgba(124, 58, 237, 0.3);
    }
}

/* Animation Classes */
.animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-slide-left {
    animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-slide-right {
    animation: slideInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

/* Animation Delays */
.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

.delay-5 {
    animation-delay: 0.75s;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

/* ===== HEADER ===== */
.header-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    z-index: 9999;
    transition: var(--transition-medium);
}

.header-area.scrolled {
    background: transparent;
    backdrop-filter: none;
}

.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.logo-icon {
    font-size: 1.75rem;
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(135deg, var(--text-white), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
}

.hamburger-bar {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition-medium);
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== FULLPAGE SECTIONS ===== */
.section {
    position: relative;
    width: 100%;
    height: 100vh !important;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1 !important;
}

.section * {
    opacity: 1;
}

.section-intro {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 60px 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-white);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-title .gradient-text {
    display: inline;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== WAVE BACKGROUNDS ===== */
.wave-bg {
    position: absolute;
    width: 200%;
    height: 100%;
    left: -50%;
    pointer-events: none;
}

.wave-one {
    bottom: -50%;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: wave-float 8s ease-in-out infinite;
}

.wave-two {
    top: -30%;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    animation: wave-float 10s ease-in-out infinite reverse;
}

@keyframes wave-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* ===== PARTICLES CONTAINER ===== */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ===== FLOATING SHAPES ===== */
.shape-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.s-round {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float-shape 6s ease-in-out infinite;
}

.r-one {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.r-two {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
}

.r-three {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.r-four {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
    top: 30%;
    left: 15%;
    animation-delay: 3s;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.4;
    animation: rotate-shape 15s linear infinite;
}

.t-one {
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(0, 212, 255, 0.3);
    top: 20%;
    left: 10%;
}

.t-two {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid rgba(124, 58, 237, 0.3);
    bottom: 30%;
    right: 15%;
    animation-delay: 5s;
}

.t-three {
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid rgba(236, 72, 153, 0.3);
    top: 70%;
    left: 80%;
    animation-delay: 10s;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) scale(1.02) rotate(5deg);
    }

    50% {
        transform: translateY(-40px) scale(1.08) rotate(0deg);
    }

    75% {
        transform: translateY(-20px) scale(1.02) rotate(-5deg);
    }
}

@keyframes rotate-shape {
    0% {
        transform: rotate(0deg) translateY(0px);
    }

    25% {
        transform: rotate(90deg) translateY(-15px);
    }

    50% {
        transform: rotate(180deg) translateY(0px);
    }

    75% {
        transform: rotate(270deg) translateY(15px);
    }

    100% {
        transform: rotate(360deg) translateY(0px);
    }
}

/* ===== SECTION BACKGROUNDS ===== */
.wave-section-hero {
    background: radial-gradient(50% 50% at 50% 50%, rgba(11, 60, 175, 0.8) 0%, var(--bg-section-1) 100%);
}

.wave-section-about {
    background: radial-gradient(50% 50% at 50% 50%, rgba(13, 71, 161, 0.8) 0%, var(--bg-section-2) 100%);
}

.wave-section-model {
    background: radial-gradient(50% 50% at 50% 50%, rgba(26, 35, 126, 0.8) 0%, var(--bg-section-5) 100%);
}

.wave-section-layers {
    background: radial-gradient(50% 50% at 50% 50%, rgba(13, 71, 161, 0.8) 0%, var(--bg-section-4) 100%);
}

.wave-section-materials {
    background: radial-gradient(50% 50% at 50% 50%, rgba(26, 35, 126, 0.8) 0%, var(--bg-section-5) 100%);
}

.wave-section-procedures {
    background: radial-gradient(50% 50% at 50% 50%, rgba(49, 27, 146, 0.8) 0%, var(--bg-section-6) 100%);
}

.wave-section-results {
    background: radial-gradient(50% 50% at 50% 50%, rgba(74, 20, 140, 0.8) 0%, var(--bg-section-7) 100%);
}

.wave-section-conclusion {
    background: radial-gradient(50% 50% at 50% 50%, rgba(11, 60, 175, 0.8) 0%, var(--bg-section-8) 100%);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--text-white);
    color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::after {
    left: 0;
}

.btn-outline:hover {
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

/* ===== HERO SECTION ===== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    height: 100%;
    padding: 0;
}

.hero-grid.hero-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    grid-template-columns: 1fr;
    width: 100%;
}

.hero-centered .hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-centered .hero-tagline {
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-buttons {
    justify-content: center;
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
}

.medical-cross {
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}

.animate-float {
    animation: float-shape 4s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: -0.03em;
    line-height: 1;
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: center;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.7;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.glow-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.device-preview {
    position: relative;
    width: 250px;
    height: 300px;
    perspective: 1000px;
}

.preview-layer {
    position: absolute;
    width: 100%;
    height: 60px;
    border-radius: 20px;
    transition: var(--transition-medium);
    animation: layer-float 3s ease-in-out infinite;
}

.preview-layer.layer-1 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    top: 0;
    animation-delay: 0s;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.preview-layer.layer-2 {
    background: linear-gradient(135deg, var(--accent-cyan), #0284c7);
    top: 70px;
    animation-delay: 0.2s;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.preview-layer.layer-3 {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    top: 140px;
    animation-delay: 0.4s;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.preview-layer.layer-4 {
    background: linear-gradient(135deg, var(--accent-purple), #6d28d9);
    top: 210px;
    animation-delay: 0.6s;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

@keyframes layer-float {

    0%,
    100% {
        transform: translateX(0) rotateY(0);
    }

    50% {
        transform: translateX(10px) rotateY(5deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
    z-index: 10;
}

.scroll-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    color: var(--accent-cyan);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    animation: fadeInUp 0.8s ease forwards;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-text.highlight-text {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-white);
    line-height: 1.6;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.3);
    animation: ring-pulse 4s ease-in-out infinite;
}

@keyframes ring-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
}

/* ===== 3D MODEL SECTION ===== */
.model-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.canvas-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 550px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow:
        0 0 60px rgba(0, 212, 255, 0.1),
        inset 0 0 60px rgba(0, 212, 255, 0.05);
}

#three-canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-white);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.controls-panel {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.control-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 25px;
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

.control-btn.accent {
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-blue));
    border: none;
}

.control-btn.accent:hover {
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    transform: translateY(-3px);
}

.control-btn.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--bg-dark);
}

/* ===== LAYERS SECTION ===== */
.layers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.layer-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.layer-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-8px);
}

.layer-number {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    letter-spacing: -0.02em;
}

.layer-icon {
    margin-bottom: 0.75rem;
    color: var(--accent-cyan);
}

.layer-icon svg {
    stroke: var(--accent-cyan);
}

.layer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.layer-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.layer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.tag {
    padding: 0.2rem 0.6rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    font-size: 0.7rem;
    color: var(--accent-cyan);
    font-weight: 500;
}

/* ===== MATERIALS SECTION ===== */
.materials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.composition-chart {
    display: flex;
    justify-content: center;
}

.chart-ring {
    position: relative;
    width: 280px;
    height: 280px;
}

.chart-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.chart-ring circle {
    fill: none;
    stroke-width: 30;
    stroke-linecap: round;
}

.ring-bg {
    stroke: rgba(255, 255, 255, 0.1);
}

.ring-honey {
    stroke: #fbbf24;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 125.6;
    animation: ring-fill 2s ease forwards;
}

.ring-collagen {
    stroke: var(--accent-cyan);
    stroke-dasharray: 251.2;
    stroke-dashoffset: 175.84;
    animation: ring-fill 2s ease 0.3s forwards;
}

.ring-turmeric {
    stroke: #f97316;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 200.96;
    animation: ring-fill 2s ease 0.6s forwards;
}

@keyframes ring-fill {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-center .percent {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    display: block;
}

.chart-center .label {
    font-size: 1rem;
    color: var(--text-muted);
}

.composition-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.composition-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid;
    transition: var(--transition-fast);
}

.composition-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.composition-item.honey {
    border-color: #fbbf24;
}

.composition-item.collagen {
    border-color: var(--accent-cyan);
}

.composition-item.turmeric {
    border-color: #f97316;
}

.item-percent {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    min-width: 80px;
}

.item-info h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.item-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== PROCEDURES SECTION ===== */
.procedures-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.procedure-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
}

.procedure-number {
    position: absolute;
    top: -15px;
    left: 30px;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.procedure-card h3 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.procedure-steps {
    list-style: none;
    padding: 0;
}

.procedure-steps li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.procedure-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
}

/* ===== CONCLUSION SECTION ===== */
.conclusion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.conclusion-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.recommendations-list {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
}

.recommendations-list h3 {
    font-size: 1.25rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: var(--transition-fast);
}

.recommendation-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.rec-icon {
    font-size: 1.5rem;
}

.rec-text {
    font-size: 1rem;
    color: var(--text-white);
}

/* ===== FOOTER SECTION ===== */
.footer-content {
    text-align: center;
    padding: 3rem 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== FULLPAGE FOOTER (CodeX Style) ===== */
.fullpage-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    background: transparent;
    z-index: 9998;
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

/* CodeX Style Nav Arrows */
.nav-arrows {
    display: flex;
    gap: 0.5rem;
}

.nav-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-arrow i,
.nav-arrow svg {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-arrow:first-child:hover i,
.nav-arrow:first-child:hover svg {
    transform: translateY(-2px);
}

.nav-arrow:last-child:hover i,
.nav-arrow:last-child:hover svg {
    transform: translateY(2px);
}

.nav-arrow:last-child:hover i {
    transform: translateX(3px);
}

/* ===== INFO SIDEBAR ===== */
.info-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(5, 8, 22, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    z-index: 10000;
    transition: var(--transition-medium);
    overflow-y: auto;
}

.info-sidebar.open {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-btn:hover {
    background: var(--accent-cyan);
}

/* ===== iPHONE 15 PRO MOCKUP ===== */

/* Lock body scroll when iPhone is open */
body.iphone-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.iphone-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.iphone-container.active {
    opacity: 1;
    visibility: visible;
}

/* iPhone 15 Pro Frame */
.iphone-15-pro {
    position: relative;
    width: 393px;
    height: 852px;
    background: linear-gradient(145deg, #1C1C1E, #2C2C2E);
    border-radius: 55px;
    padding: 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 50px 100px -20px rgba(0, 0, 0, 0.8),
        0 30px 60px -30px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: scale(0.85) translateY(30px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.iphone-container.active .iphone-15-pro {
    transform: scale(1) translateY(0);
}

/* Titanium Frame Effect */
.iphone-15-pro::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 57px;
    background: linear-gradient(145deg, #4A4A4C, #2C2C2E, #1C1C1E);
    z-index: -1;
}

/* Dynamic Island */
.dynamic-island {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 37px;
    background: #000;
    border-radius: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 12px;
}

.island-camera {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 30% 30%, #1a1a2e, #000);
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0, 100, 255, 0.3);
}

.island-sensor {
    width: 8px;
    height: 8px;
    background: #0a0a0a;
    border-radius: 50%;
}

/* Close Button */
.iphone-close-btn {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.iphone-close-btn:hover {
    background: rgba(255, 59, 48, 0.8);
    border-color: transparent;
    transform: scale(1.1);
}

/* iPhone Screen */
.iphone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 47px;
    overflow: hidden;
    position: relative;
}

/* iOS Status Bar */
.ios-status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    padding: 14px 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 50;
}

.status-time {
    font-size: 15px;
    font-weight: 600;
    color: white;
    letter-spacing: -0.3px;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.signal-icon,
.wifi-icon {
    opacity: 0.95;
}

.battery-icon {
    width: 27px;
    height: 13px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    padding: 2px;
    position: relative;
}

.battery-icon::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 2px 2px 0;
}

.battery-level {
    width: 80%;
    height: 100%;
    background: #30D158;
    border-radius: 2px;
}

/* App Wrapper */
.app-wrapper {
    height: 100%;
    padding: 70px 20px 34px;
    overflow-y: auto;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 50%, #0d1421 100%);
}

.app-wrapper::-webkit-scrollbar {
    display: none;
}

/* App Header Pro */
.app-header-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    display: none;
}

.app-title-group {
    display: flex;
    flex-direction: column;
}

.app-name {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0;
    letter-spacing: -0.3px;
}

.app-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.settings-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Status Card */
.status-card-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(48, 209, 88, 0.1);
    border: 1px solid rgba(48, 209, 88, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #30D158;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #30D158;
    border-radius: 50%;
}

.last-sync {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

/* Sensor Grid Pro */
.sensor-grid-pro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.sensor-tile {
    background: rgba(30, 30, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 16px 14px;
    text-align: center;
    transition: all 0.2s ease;
}

.sensor-tile:active {
    transform: scale(0.98);
}

.tile-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.tile-icon-svg {
    width: 18px;
    height: 18px;
    opacity: 0.85;
}

.tile-trend {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.tile-trend.up {
    color: #FF453A;
    background: rgba(255, 69, 58, 0.12);
}

.tile-trend.down {
    color: #30D158;
    background: rgba(48, 209, 88, 0.12);
}

.tile-trend.stable {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

.tile-value {
    font-size: 26px;
    font-weight: 600;
    color: white;
    letter-spacing: -1px;
    margin-bottom: 4px;
    line-height: 1.1;
}

.tile-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
    letter-spacing: 0.2px;
}

.tile-bar {
    display: none;
}

/* AI Section Pro */
.ai-section-pro {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 20px;
}

.ai-header-pro {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ai-avatar-pro {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0A84FF, #5E5CE6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.avatar-ring {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ai-info {
    display: flex;
    flex-direction: column;
}

.ai-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.ai-status {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ai-dot {
    width: 6px;
    height: 6px;
    background: #30D158;
    border-radius: 50%;
}

.ai-chat-area {
    min-height: 80px;
}

.ai-bubble {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px 18px 18px 4px;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.ai-bubble.welcome {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.15), rgba(94, 92, 230, 0.15));
    border: 1px solid rgba(10, 132, 255, 0.2);
}

/* Action Buttons Pro */
.action-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.action-btn-pro {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border: none;
    border-radius: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn-pro.primary {
    background: linear-gradient(135deg, #0A84FF, #5E5CE6);
    color: white;
}

.action-btn-pro.primary:hover {
    opacity: 0.9;
}

.action-btn-pro.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn-pro.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Treatment Card */
.treatment-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}

.treatment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 14px;
}

.treatment-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.treatment-item {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

/* Home Indicator */
.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* iPhone Physical Buttons */
.iphone-buttons .btn-silent {
    position: absolute;
    left: -3px;
    top: 120px;
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, #3a3a3c, #2c2c2e);
    border-radius: 2px 0 0 2px;
}

.iphone-buttons .btn-volume-up {
    position: absolute;
    left: -3px;
    top: 170px;
    width: 4px;
    height: 50px;
    background: linear-gradient(180deg, #3a3a3c, #2c2c2e);
    border-radius: 2px 0 0 2px;
}

.iphone-buttons .btn-volume-down {
    position: absolute;
    left: -3px;
    top: 230px;
    width: 4px;
    height: 50px;
    background: linear-gradient(180deg, #3a3a3c, #2c2c2e);
    border-radius: 2px 0 0 2px;
}

.iphone-buttons .btn-power {
    position: absolute;
    right: -3px;
    top: 180px;
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, #3a3a3c, #2c2c2e);
    border-radius: 0 2px 2px 0;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 8px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-8px);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    }
}

/* ===== FULLPAGE.JS OVERRIDES ===== */
.fp-watermark {
    display: none !important;
}

.fp-overflow {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.fp-section,
.fp-slide {
    height: 100vh !important;
}

.fp-tableCell {
    vertical-align: top;
    padding-top: 0;
}

#fullpage {
    height: 100%;
}

/* ===== FULLPAGE.JS NAVIGATION (Hidden) ===== */
#fp-nav {
    display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .layers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    .hero-grid,
    .about-grid,
    .materials-grid,
    .conclusion-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content,
    .about-content {
        order: 1;
    }

    .hero-visual,
    .about-visual {
        order: 0;
    }

    .hero-buttons {
        justify-content: center;
    }

    .procedures-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(5, 8, 22, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-medium);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 768px) {
    .section-intro {
        padding: 60px 0;
    }

    .layers-grid {
        grid-template-columns: 1fr;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .canvas-wrapper {
        height: 300px;
    }

    .controls-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .control-btn {
        width: 100%;
    }

    .fullpage-footer {
        padding: 0.75rem 1rem;
    }

    .nav-arrows {
        gap: 0.5rem;
    }

    .nav-arrow span {
        display: none;
    }

    .iphone-frame {
        width: 320px;
        height: 690px;
        border-radius: 40px;
    }

    .iphone-close-btn {
        top: -50px;
        right: 0;
    }

    /* Hero Section Mobile 768 */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 auto;
        min-width: 100px;
    }

    /* About Section Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-cards {
        grid-template-columns: 1fr;
    }

    /* Section Headers Mobile */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .hero-headline {
        font-size: 1rem;
    }

    .hero-eyebrow,
    .section-eyebrow {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 0.75rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .sensor-cards {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .iphone-frame {
        width: 280px;
        height: 600px;
        border-radius: 35px;
    }

    /* Layer Cards Mobile */
    .layers-grid {
        gap: 1rem;
    }

    .layer-card {
        padding: 1.25rem;
    }

    .layer-title {
        font-size: 1rem;
    }

    .layer-desc {
        font-size: 0.8rem;
    }

    .layer-tags {
        gap: 0.4rem;
    }

    .tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    /* About Section Mobile */
    .about-grid {
        gap: 1.5rem;
    }

    .intro-card {
        padding: 1.25rem;
    }

    .intro-card p {
        font-size: 0.85rem;
    }

    /* Materials Section Mobile */
    .materials-table th,
    .materials-table td {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .cost-breakdown {
        gap: 0.75rem;
    }

    .cost-item {
        padding: 1rem;
        min-width: auto;
    }

    .cost-value {
        font-size: 1.5rem;
    }

    /* Dev Process Mobile */
    .dev-process-grid {
        gap: 1rem;
    }

    .dev-card {
        padding: 1.25rem;
    }

    .dev-step {
        font-size: 2rem;
    }

    .dev-title {
        font-size: 1rem;
    }

    .dev-desc {
        font-size: 0.8rem;
    }

    /* Results Mobile */
    .result-card {
        padding: 1.25rem;
    }

    .result-title {
        font-size: 1rem;
    }

    .result-value {
        font-size: 1.5rem;
    }

    /* Scroll Indicator Mobile */
    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-text {
        font-size: 0.7rem;
    }

    /* Footer Mobile */
    .fullpage-footer {
        padding: 0.5rem 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-arrows {
        width: 100%;
        justify-content: center;
    }

    .nav-arrow {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .stat-item {
        padding: 0.75rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

/* ===== NEW ENHANCED SECTIONS ===== */

/* Hero Stats - Apple Style */
.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin: 2rem auto;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.stat-item {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 110px;
    flex: 1;
    max-width: 160px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: white;
}

/* Problem Stats */
.problem-stats {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.problem-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.problem-icon {
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
}

.problem-icon svg {
    stroke: var(--accent-cyan);
}

.problem-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.highlight-text {
    font-size: 1rem;
    line-height: 1.7;
}

/* Solution Card */
.solution-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.solution-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-list li:last-child {
    border-bottom: none;
}

.solution-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Materials Table */
.materials-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.materials-table-wrapper {
    overflow-x: auto;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.materials-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.materials-table th,
.materials-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.materials-table th {
    background: rgba(24, 119, 242, 0.3);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--accent-cyan);
}

.materials-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.component-name {
    display: block;
    font-weight: 600;
    color: var(--text-white);
}

.component-model {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.materials-table .cost {
    font-weight: 600;
    color: var(--accent-cyan);
    white-space: nowrap;
}

.materials-table .total-row {
    background: rgba(24, 119, 242, 0.2);
}

.materials-table .total-row td {
    border-bottom: none;
    padding: 1.25rem;
}

.materials-table .total {
    font-size: 1.1rem;
    color: var(--accent-pink);
}

.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cost-card {
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    min-width: 180px;
}

.cost-card.electronic {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.3), rgba(124, 58, 237, 0.3));
    border: 1px solid rgba(24, 119, 242, 0.5);
}

.cost-card.natural {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(0, 212, 255, 0.3));
    border: 1px solid rgba(16, 185, 129, 0.5);
}

.cost-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.cost-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.cost-percent {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-top: 0.25rem;
}

/* Procedures & Results Grid */
.procedures-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.column-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--accent-cyan);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.procedures-column .procedure-card {
    margin-bottom: 0.75rem;
}

.procedure-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.procedure-card .procedure-number {
    font-size: 1.5rem;
}

.procedure-steps {
    font-size: 0.85rem;
}

.procedure-steps li {
    padding: 0.2rem 0;
    margin-bottom: 0.15rem;
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--accent-cyan);
}

.result-icon {
    display: flex;
    margin-bottom: 0.25rem;
}

.result-card h4 {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: var(--accent-cyan);
}

.result-card ul {
    list-style: none;
    padding: 0;
}

.result-card li {
    padding: 0.1rem 0;
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Conclusion Section */
.conclusion-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.impact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.impact-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.impact-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--accent-cyan);
}

.impact-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Recommendations Section */
.recommendations-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
}

.rec-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.recommendations-section .recommendation-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recommendations-section .recommendation-item:last-child {
    border-bottom: none;
}

.rec-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.rec-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.rec-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive adjustments for new sections */
@media (max-width: 992px) {
    .materials-layout {
        grid-template-columns: 1fr;
    }

    .cost-breakdown {
        flex-direction: row;
        justify-content: center;
    }

    .procedures-results-grid {
        grid-template-columns: 1fr;
    }

    .impact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 200px;
    }

    .cost-breakdown {
        flex-direction: column;
    }

    .materials-table {
        font-size: 0.85rem;
    }

    .materials-table th,
    .materials-table td {
        padding: 0.75rem;
    }
}

/* Hidden sensor panel for 3D display */
.sensor-panel {
    display: none;
}

.alert-box {
    display: none;
}

/* ===== DEVELOPMENT PROCESS SECTION ===== */
.dev-process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.dev-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dev-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.dev-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.dev-step {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.02em;
}

.dev-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-card:nth-child(2) .dev-icon {
    background: rgba(124, 58, 237, 0.08);
}

.dev-card h3 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.dev-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.dev-steps {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.step-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    margin-top: 6px;
}

.step-dot.purple {
    background: var(--accent-purple);
}

/* ===== EXPECTED RESULTS SECTION ===== */
.expected-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.expected-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.expected-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.expected-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.expected-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.natural-effects .expected-icon {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-cyan);
}

.sensor-data .expected-icon {
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-purple);
}

.ai-classification .expected-icon {
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent-pink);
}

.expected-time,
.expected-label {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.expected-card h3 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.expected-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.expected-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.expected-item svg {
    min-width: 18px;
    margin-top: 2px;
}

/* Sensor Metrics */
.sensor-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.metric-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.metric-icon.temp {
    background: rgba(255, 100, 100, 0.15);
}

.metric-icon.humidity {
    background: rgba(100, 200, 255, 0.15);
}

.metric-icon.resistance {
    background: rgba(255, 200, 100, 0.15);
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-info strong {
    font-size: 0.85rem;
    color: var(--text-white);
}

.metric-info span {
    font-size: 0.75rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Classification Levels */
.classification-levels {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.burn-level {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.level-indicator {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.superficial .level-indicator {
    background: #4ade80;
}

.partial .level-indicator {
    background: #fbbf24;
}

.deep .level-indicator {
    background: #ef4444;
}

.ai-note {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.7;
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive for Development & Results */
@media (max-width: 992px) {
    .dev-process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expected-results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ===== MOBILE FULLSCREEN APP ===== */
@media (max-width: 768px) {
    .iphone-container {
        background: #000;
    }

    .iphone-15-pro {
        width: 100% !important;
        height: 100% !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .iphone-container.active .iphone-15-pro {
        transform: none !important;
    }

    .iphone-15-pro::before {
        display: none;
    }

    .dynamic-island {
        display: none;
    }

    .iphone-screen {
        border-radius: 0 !important;
        height: 100vh !important;
    }

    /* Hide status bar on mobile */
    .ios-status-bar {
        display: none !important;
    }

    .app-wrapper {
        padding: calc(20px + env(safe-area-inset-top, 0px)) 16px calc(34px + env(safe-area-inset-bottom, 0px));
        height: 100vh !important;
    }

    .home-indicator {
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    }

    /* Hide close button on mobile */
    .iphone-close-btn {
        display: none !important;
    }

    .iphone-buttons {
        display: none !important;
    }
}

/* ===== RTL SUPPORT FOR ARABIC ===== */
.app-wrapper.rtl {
    direction: rtl;
    text-align: right;
}

.app-wrapper.rtl .app-header-pro {
    flex-direction: row-reverse;
}

.app-wrapper.rtl .app-logo {
    flex-direction: row-reverse;
}

.app-wrapper.rtl .status-card-pro {
    flex-direction: row-reverse;
}

.app-wrapper.rtl .tile-header {
    flex-direction: row-reverse;
}

.app-wrapper.rtl .ai-header-pro {
    flex-direction: row-reverse;
}

.app-wrapper.rtl .ai-info {
    text-align: right;
}

.app-wrapper.rtl .ai-status {
    flex-direction: row-reverse;
}

.app-wrapper.rtl .action-row {
    flex-direction: row-reverse;
}

.app-wrapper.rtl .treatment-header {
    flex-direction: row-reverse;
}

.app-wrapper.rtl .treatment-item {
    text-align: right;
}

.app-wrapper.rtl .ai-bubble {
    border-radius: 18px 18px 4px 18px;
}

/* Language Toggle Button - In Header */
.lang-toggle-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 14px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-toggle-btn:active {
    transform: scale(0.95);
}