/* CSS Design System - NBP Clinique Proposal (Light Elegant Spa Theme) */

:root {
    --bg-main: #fcfbfa;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-card: rgba(181, 148, 91, 0.15);
    --border-card-hover: rgba(181, 148, 91, 0.4);
    
    --text-primary: #1f1a17;
    --text-secondary: #5c544e;
    --text-muted: #8e837a;
    
    --accent-gold: #b5945b; /* NBP Clinique official gold */
    --accent-gold-rgb: 181, 148, 91;
    --accent-rose: #d8b991;
    --accent-green: #0fa370;
    --accent-red: #db2777; /* Deep rose/pink warning color, more suited for aesthetic clinic */
    --accent-orange: #d97706;
    
    --font-heading: 'Jost', system-ui, -apple-system, sans-serif;
    --font-body: 'Jost', system-ui, -apple-system, sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-diffuse: 0 10px 30px rgba(181, 148, 91, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-gold: 0 10px 25px rgba(181, 148, 91, 0.15);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-main);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(181, 148, 91, 0.2);
    border-radius: 5px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Background glow decorations (soft pastel warmth) */
.bg-glow-1, .bg-glow-2, .bg-glow-3 {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
}
.bg-glow-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(216, 185, 145, 0.25) 0%, transparent 70%);
}
.bg-glow-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 240, 235, 0.3) 0%, transparent 70%);
}
.bg-glow-3 {
    top: 40%;
    left: 35%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(181, 148, 91, 0.08) 0%, transparent 70%);
}

/* Layout Elements */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.max-w-lg {
    max-width: 800px;
}
.section-padding {
    padding: 7rem 0;
}
.section-alt {
    background: #f5f2ed;
    position: relative;
    border-top: 1px solid rgba(181, 148, 91, 0.08);
    border-bottom: 1px solid rgba(181, 148, 91, 0.08);
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: #1a1512;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.08em; }

.text-gradient-gold {
    background: linear-gradient(135deg, #1f1a17 20%, var(--accent-gold) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-green { color: var(--accent-green) !important; }
.text-red { color: var(--accent-red) !important; }
.text-gold { color: var(--accent-gold) !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}
.btn-md {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}
.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
}
.btn-block {
    width: 100%;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-rose) 100%);
    color: #fff;
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(181, 148, 91, 0.25);
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(181, 148, 91, 0.4);
}
.btn-secondary:hover {
    background: rgba(181, 148, 91, 0.05);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}
.btn-glass {
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-primary);
    border-color: var(--border-card);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-diffuse);
}
.btn-glass:hover {
    background: #ffffff;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-diffuse);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}
.glass-card:hover {
    border-color: var(--border-card-hover);
    box-shadow: 0 15px 40px rgba(181, 148, 91, 0.12);
}

/* Header & Navigation */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(252, 251, 250, 0.85);
    border-bottom: 1px solid var(--border-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.logo-img {
    height: 38px;
    width: auto;
    display: block;
    /* Renders SVG in black, matching original website branding */
    transition: var(--transition-smooth);
}
.logo:hover .logo-img {
    filter: drop-shadow(0 2px 5px rgba(181, 148, 91, 0.2));
}
.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(181, 148, 91, 0.1);
    color: var(--accent-gold);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
    letter-spacing: 0.05em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-item {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}
.nav-item:hover {
    color: var(--accent-gold);
}
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(252, 251, 250, 0.98);
    border-bottom: 1px solid var(--border-card);
    backdrop-filter: blur(20px);
    z-index: 99;
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open {
    display: flex;
    transform: translateY(0);
}
.mobile-nav-item {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    padding: 11rem 0 6rem 0;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}
.badge-container {
    margin-bottom: 1.5rem;
}
.badge-alert {
    background: rgba(219, 39, 119, 0.08);
    border: 1px solid rgba(219, 39, 119, 0.2);
    color: var(--accent-red);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-title {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.hero-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}
.hero-lead strong {
    color: var(--accent-red);
}
.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Spatial Visual Floating Cards */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}
.floating-card {
    position: absolute;
    width: 280px;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(181, 148, 91, 0.12);
    backdrop-filter: blur(12px);
    transition: all 0.5s ease;
    transform-style: preserve-3d;
}
.card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}
.card-score-red {
    background: rgba(219, 39, 119, 0.05);
    border: 1px solid rgba(219, 39, 119, 0.15);
    transform: rotateY(-15deg) translateZ(50px) translateX(-50px);
    z-index: 2;
}
.card-score-red .card-tag {
    background: rgba(219, 39, 119, 0.1);
    color: var(--accent-red);
}
.card-score-green {
    background: rgba(15, 163, 112, 0.05);
    border: 1px solid rgba(15, 163, 112, 0.15);
    transform: rotateY(15deg) translateZ(80px) translateX(120deg) translateY(50px);
    z-index: 3;
    left: 45%;
}
.card-score-green .card-tag {
    background: rgba(15, 163, 112, 0.1);
    color: var(--accent-green);
}
.floating-card h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.floating-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Radial Progress Bar */
.radial-progress {
    position: relative;
    width: 120px;
    height: 120px;
}
.circle-svg {
    transform: rotate(-90deg);
}
.circle-bg {
    fill: none;
    stroke: rgba(181, 148, 91, 0.08);
    stroke-width: 8;
}
.circle-bar {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251.2; /* 2 * PI * 40 */
    transition: stroke-dashoffset 1.5s ease-in-out;
}
.red .circle-bar {
    stroke: var(--accent-red);
    filter: drop-shadow(0 0 5px rgba(219, 39, 119, 0.3));
}
.green .circle-bar {
    stroke: var(--accent-green);
    filter: drop-shadow(0 0 5px rgba(15, 163, 112, 0.3));
}
.score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
}
.red .score-number { color: var(--accent-red); }
.green .score-number { color: var(--accent-green); }

/* Animation trigger on hover for cards */
.floating-card:hover {
    transform: translateY(-10px) rotateY(0deg) scale(1.05) !important;
    z-index: 10;
    box-shadow: 0 20px 45px rgba(181, 148, 91, 0.2);
}

/* Section Headers */
.section-header {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1512;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Grids */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.gap-3 { gap: 2rem; }
.gap-4 { gap: 3rem; }

/* Diagnostic Section Components */
.panel-tech {
    border-right: 1px solid var(--border-card);
}
.panel-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.metric-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.metric-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.metric-name {
    font-weight: 600;
    font-size: 1rem;
}
.metric-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    padding: 0.2rem 0.75rem;
    border-radius: 10px;
}
.error .metric-value {
    background: rgba(219, 39, 119, 0.08);
    color: var(--accent-red);
}
.warning .metric-value {
    background: rgba(217, 119, 6, 0.08);
    color: var(--accent-orange);
}
.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(181, 148, 91, 0.1);
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 4px;
}
.error .progress-fill {
    background: var(--accent-red);
}
.warning .progress-fill {
    background: var(--accent-orange);
}
.metric-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Issues List */
.issues-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.issues-list li {
    display: flex;
    gap: 1.25rem;
}
.issue-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: rgba(181, 148, 91, 0.08);
    border: 1px solid rgba(181, 148, 91, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.issue-body h4 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}
.issue-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Loading Simulator Styling */
.simulator-card {
    background: #ffffff;
    border-color: rgba(181, 148, 91, 0.1);
}
.simulator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
.sim-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.sim-panel h4 {
    font-size: 1.1rem;
}
.sim-screen-container {
    width: 100%;
    max-width: 320px;
    height: 220px;
    background: #f8f6f2;
    border: 1.5px solid var(--border-card);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}
.sim-loader-bar {
    height: 4px;
    width: 0%;
}
.red-loader {
    background: var(--accent-red);
    animation: load-slow 10.9s linear infinite;
}
.green-loader {
    background: var(--accent-green);
    animation: load-fast 1.8s linear infinite;
}
.sim-screenshot {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}
.current-site-sim {
    background: #efece6;
    color: var(--text-muted);
}
.blank-screen-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: pulse 1.5s infinite;
}
.optimized-site-sim {
    background: #ffffff;
    color: var(--accent-green);
    font-weight: 500;
}
.loaded-screen-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.sim-time {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--accent-red);
}

@keyframes load-slow {
    0% { width: 0%; }
    50% { width: 35%; }
    80% { width: 70%; }
    100% { width: 100%; }
}
@keyframes load-fast {
    0% { width: 0%; }
    100% { width: 100%; }
}
@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* ROI Calculator Layout */
.roi-card {
    background: #ffffff;
    border-color: rgba(181, 148, 91, 0.2);
}
.roi-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}
.roi-inputs {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.input-group label {
    font-size: 1rem;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
}
.input-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(181, 148, 91, 0.15);
    outline: none;
    transition: var(--transition-smooth);
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(181, 148, 91, 0.4);
    transition: var(--transition-smooth);
}
.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.roi-results {
    background: #faf9f6;
    border: 1px solid rgba(181, 148, 91, 0.15);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.result-block {
    background: #ffffff;
    border: 1px solid rgba(181, 148, 91, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(181, 148, 91, 0.03);
}
.result-block.block-loss {
    border-left: 3px solid var(--accent-red);
}
.result-block.block-gain {
    border-left: 3px solid var(--accent-green);
    background: rgba(15, 163, 112, 0.02);
}
.block-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
}
.block-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
}
.block-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Calculator bar charts */
.roi-chart-bar-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}
.roi-chart-bar {
    position: relative;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 15%;
    height: 48px !important;
}
.bg-red {
    background: linear-gradient(90deg, rgba(219, 39, 119, 0.08) 0%, var(--accent-red) 100%);
    border: 1px solid rgba(219, 39, 119, 0.2);
}
.bg-green {
    background: linear-gradient(90deg, rgba(15, 163, 112, 0.08) 0%, var(--accent-green) 100%);
    border: 1px solid rgba(15, 163, 112, 0.2);
}
.bar-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
}

/* Strategic Pillars styling */
.pillar-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow: hidden;
    background: #ffffff;
}
.pillar-number {
    position: absolute;
    top: -5px;
    right: 15px;
    font-size: 5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: rgba(181, 148, 91, 0.04);
    line-height: 1;
}
.pillar-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(181, 148, 91, 0.06);
    border: 1px solid rgba(181, 148, 91, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pillar-card h3 {
    font-size: 1.35rem;
    line-height: 1.3;
}
.pillar-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.pillar-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.5rem 0;
}
.pillar-features li {
    font-size: 0.9rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--text-secondary);
}
.pillar-features li i {
    margin-top: 0.25rem;
    font-size: 0.85rem;
}
.pillar-result {
    margin-top: auto;
    font-size: 0.875rem;
    padding: 1rem;
    border-radius: 12px;
    background: #faf9f6;
    border: 1px solid rgba(181, 148, 91, 0.1);
}

/* Sincere section checklist */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.check-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.check-list li i {
    font-size: 1.35rem;
    margin-top: 0.15rem;
}
.check-list li div {
    font-size: 1rem;
    color: var(--text-secondary);
}
.check-list li div strong {
    color: var(--text-primary);
}
.badge-list-card {
    border-color: rgba(181, 148, 91, 0.2);
    background: #ffffff;
}
.align-center {
    align-items: center;
}

/* CTA and Contact Section Styling */
.cta-box {
    position: relative;
    border-color: rgba(181, 148, 91, 0.2);
    background: radial-gradient(circle at top, rgba(245, 240, 235, 0.8) 0%, #ffffff 100%);
    box-shadow: var(--shadow-diffuse);
    padding: 4rem 3rem;
}
.cta-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-input {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(181, 148, 91, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}
.form-input::placeholder {
    color: var(--text-muted);
}
.form-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(181, 148, 91, 0.15);
}
textarea.form-input {
    resize: none;
}
.form-feedback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}
.form-feedback i {
    font-size: 3rem;
}
.hidden {
    display: none !important;
}

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

/* Footer Styling */
.main-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-card);
    background: #faf9f6;
}
.main-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-small {
    font-size: 0.75rem !important;
    margin-top: 0.5rem;
}

/* ==========================================================================
   SCROLL-DRIVEN ANIMATIONS (Native @supports checking)
   ========================================================================== */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
    #analiza-tehnica {
        view-timeline: --section-tech block;
    }
    #impact-financiar {
        view-timeline: --section-roi block;
    }
    #plan-crestere {
        view-timeline: --section-plan block;
    }

    @keyframes fade-slide-up {
        from {
            opacity: 0;
            transform: translateY(60px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #analiza-tehnica .glass-card {
        animation: fade-slide-up linear both;
        animation-timeline: --section-tech;
        animation-range: entry 10% cover 40%;
    }

    #impact-financiar .roi-card {
        animation: fade-slide-up linear both;
        animation-timeline: --section-roi;
        animation-range: entry 10% cover 40%;
    }

    #plan-crestere .pillar-card {
        animation: fade-slide-up linear both;
        animation-timeline: --section-plan;
        animation-range: entry 5% cover 30%;
    }
    
    #plan-crestere .pillar-card:nth-child(1) { animation-range: entry 5% cover 25%; }
    #plan-crestere .pillar-card:nth-child(2) { animation-range: entry 5% cover 35%; }
    #plan-crestere .pillar-card:nth-child(3) { animation-range: entry 5% cover 45%; }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
    .floating-card, .btn, .sim-loader-bar, .cta-icon, .roi-chart-bar {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
    #analiza-tehnica .glass-card, 
    #impact-financiar .roi-card, 
    #plan-crestere .pillar-card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   RESPONSIVE LAYOUTS (Mobile Optimization)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        height: 350px;
    }
    .floating-card {
        width: 250px;
    }
    .card-score-green {
        left: auto;
        right: 5%;
        transform: rotateY(10deg) translateZ(50px) translateY(30px);
    }
    .card-score-red {
        left: 5%;
        transform: rotateY(-10deg) translateZ(50px);
    }
    
    .grid-3-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .roi-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4.5rem 0;
    }
    .nav-links {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .panel-tech {
        border-right: none;
        border-bottom: 1px solid var(--border-card);
        padding-bottom: 3rem;
    }
    
    .simulator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 2.5rem 1.5rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.15rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-visual {
        display: none;
    }
}
