/* ===================================
   Brand Book - Clinica Dislexia
   CSS Styles
   =================================== */

/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Primary Colors - Balanced Palette */
    --color-orange: #F26522;
    --color-yellow: #FFC727;
    --color-petrol: #2D7A8C;
    --color-purple: #6B5B95;
    --color-coral: #F06D85;
    --color-mint: #88D8B0;

    /* Extended Colors */
    --color-peach: #FF8A5B;
    --color-red: #E84855;
    --color-yellow-light: #FFE66D;
    --color-sky: #5BC0EB;
    --color-violet: #9B5DE5;
    --color-aqua: #00F5D4;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-gray-100: #F8F9FA;
    --color-gray-200: #E9ECEF;
    --color-gray-300: #DEE2E6;
    --color-gray-400: #CED4DA;
    --color-gray-500: #ADB5BD;
    --color-gray-600: #6C757D;
    --color-gray-700: #495057;
    --color-gray-800: #343A40;
    --color-gray-900: #212529;

    /* Fonts */
    --font-display: 'Quicksand', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-alt: 'Nunito', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-color: 0 8px 30px rgba(242, 101, 34, 0.2);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1200px;
    --nav-height: 70px;
}

/* ===================================
   Reset & Base
   =================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: var(--space-md);
}

/* ===================================
   Container
   =================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-coral));
    color: var(--color-white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: transform var(--transition-base);
}

.nav-logo:hover {
    transform: scale(1.05) rotate(-3deg);
}

.nav-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-gray-800);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-700);
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-coral));
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-orange);
}

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

.nav-link--cta {
    background: linear-gradient(135deg, var(--color-orange), var(--color-coral));
    color: var(--color-white) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-gray-800);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        var(--color-gray-100) 0%,
        var(--color-white) 50%,
        rgba(255, 199, 39, 0.1) 100%
    );
    padding-top: var(--nav-height);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-coral));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.6;
    animation-delay: 0s;
}

.shape-2 {
    top: 60%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--color-petrol), var(--color-mint));
    border-radius: 50%;
    opacity: 0.5;
    animation-delay: -5s;
}

.shape-3 {
    top: 20%;
    right: 10%;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--color-yellow), var(--color-peach));
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    opacity: 0.5;
    animation-delay: -10s;
}

.shape-4 {
    bottom: 15%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-purple), var(--color-violet));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.4;
    animation-delay: -15s;
}

.shape-5 {
    top: 50%;
    right: 30%;
    width: 80px;
    height: 80px;
    background: var(--color-mint);
    border-radius: 50%;
    opacity: 0.4;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(20px, -30px) rotate(5deg) scale(1.05);
    }
    50% {
        transform: translate(-15px, 20px) rotate(-5deg) scale(0.95);
    }
    75% {
        transform: translate(25px, 15px) rotate(3deg) scale(1.02);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: var(--space-xl);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-orange);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gray-900), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    color: var(--color-gray-600);
    margin-bottom: var(--space-xl);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-2xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange), var(--color-coral));
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 10px 40px rgba(242, 101, 34, 0.3);
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section--alt {
    background: var(--color-gray-100);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-orange);
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(242, 101, 34, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-gray-600);
}

/* ===================================
   Strategy Section
   =================================== */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.strategy-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow), var(--color-petrol));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.strategy-card:hover::before {
    transform: scaleX(1);
}

.strategy-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.1), rgba(255, 199, 39, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.strategy-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-orange);
}

.strategy-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.strategy-card p {
    color: var(--color-gray-600);
    margin-bottom: 0;
    line-height: 1.7;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.values-list li {
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.1), rgba(255, 199, 39, 0.05));
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-gray-700);
}

/* Tone of Voice */
.tone-voice {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.tone-voice h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.tone-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.tone-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.tone-card:hover {
    transform: scale(1.03);
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.05), rgba(136, 216, 176, 0.05));
}

.tone-label {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-purple);
    margin-bottom: var(--space-sm);
}

.tone-card p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-bottom: 0;
}

/* ===================================
   Logo Section
   =================================== */
.logo-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.logo-option {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.logo-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.logo-option-header {
    padding: var(--space-xl);
    border-bottom: 1px solid var(--color-gray-200);
}

.option-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, var(--color-orange), var(--color-coral));
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.option-badge--b {
    background: linear-gradient(135deg, var(--color-petrol), var(--color-mint));
}

.option-badge--c {
    background: linear-gradient(135deg, var(--color-purple), var(--color-violet));
}

.logo-option-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.logo-option-header p {
    color: var(--color-gray-600);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.logo-preview {
    padding: var(--space-2xl);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    overflow: hidden;
}

.logo-preview--placeholder {
    background: linear-gradient(135deg, var(--color-gray-100), var(--color-white));
}

.placeholder-content {
    text-align: center;
}

.placeholder-shapes {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

/* Geometric Shapes */
.placeholder-shapes.geometric .geo-circle {
    width: 50px;
    height: 50px;
    background: var(--color-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.placeholder-shapes.geometric .geo-square {
    width: 50px;
    height: 50px;
    background: var(--color-yellow);
    animation: pulse 2s infinite 0.3s;
}

.placeholder-shapes.geometric .geo-triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid var(--color-petrol);
    animation: pulse 2s infinite 0.6s;
}

/* Organic Shapes */
.placeholder-shapes.organic .blob {
    width: 50px;
    height: 50px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 4s infinite ease-in-out;
}

.blob-1 {
    background: var(--color-orange);
}

.blob-2 {
    background: var(--color-yellow);
    animation-delay: -1s !important;
}

.blob-3 {
    background: var(--color-petrol);
    animation-delay: -2s !important;
}

/* Hybrid Shape */
.placeholder-shapes.hybrid .hybrid-shape {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-purple), var(--color-violet));
    border-radius: 30% 70% 60% 40% / 60% 30% 70% 40%;
    animation: morph 6s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.placeholder-content span {
    font-size: 0.85rem;
    color: var(--color-gray-500);
    font-style: italic;
}

.logo-variants {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-white);
    justify-content: center;
}

.variant {
    text-align: center;
}

.variant-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.variant-box {
    width: 80px;
    height: 50px;
    background: var(--color-gray-200);
    border-radius: var(--radius-md);
    border: 2px dashed var(--color-gray-300);
}

.variant-box--small {
    width: 50px;
}

.variant-box--mono {
    background: var(--color-gray-800);
    border-color: var(--color-gray-700);
}

.variant-box--with-logo {
    width: 100%;
    max-width: 280px;
    height: auto;
    min-height: 80px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.variant-box--with-logo img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
}

.logo-img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
}

/* Logo Section Divider */
.logo-section-divider {
    text-align: center;
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-2xl);
    border-top: 1px solid var(--color-gray-200);
}

.logo-section-divider h3 {
    font-size: 1.5rem;
    color: var(--color-gray-800);
    margin-bottom: var(--space-sm);
}

.logo-section-divider p {
    color: var(--color-gray-600);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Logo Specs */
.logo-specs {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.logo-specs h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
    font-size: 1.25rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.spec-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
}

.spec-item h4 {
    font-size: 1rem;
    color: var(--color-purple);
    margin-bottom: var(--space-sm);
}

.spec-item p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-bottom: 0;
}

/* ===================================
   Colors Section
   =================================== */
.palette-selector,
.typo-selector {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
    padding: var(--space-sm);
    background: var(--color-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.palette-tab,
.typo-tab {
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray-600);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
}

.palette-tab:hover,
.typo-tab:hover {
    color: var(--color-gray-800);
    background: var(--color-gray-100);
}

.palette-tab.active,
.typo-tab.active {
    background: linear-gradient(135deg, var(--color-orange), var(--color-coral));
    color: var(--color-white);
    box-shadow: var(--shadow-color);
}

.palette-content,
.typo-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.palette-content.active,
.typo-content.active {
    display: block;
}

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

.palette-description {
    text-align: center;
    color: var(--color-gray-600);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.color-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.color-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.color-swatch {
    height: 140px;
    background: var(--color);
    position: relative;
    cursor: pointer;
    transition: all var(--transition-base);
}

.color-swatch::after {
    content: 'Clique para copiar';
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-xs) var(--space-md);
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    font-size: 0.75rem;
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.color-card:hover .color-swatch::after {
    opacity: 1;
}

.color-info {
    padding: var(--space-lg);
}

.color-info h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.color-codes {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.color-code {
    display: block;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.8rem;
    color: var(--color-gray-700);
    text-align: left;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.color-code:hover {
    background: var(--color-gray-200);
    color: var(--color-gray-900);
}

/* Neutral Colors */
.neutral-colors {
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.neutral-colors h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
    font-size: 1.25rem;
}

.neutral-grid {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.neutral-card {
    text-align: center;
}

.neutral-swatch {
    width: 80px;
    height: 80px;
    background: var(--color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    transition: transform var(--transition-fast);
    cursor: pointer;
}

.neutral-card:hover .neutral-swatch {
    transform: scale(1.1);
}

.neutral-card span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-xs);
}

.neutral-card .color-code {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
}

/* ===================================
   Typography Section
   =================================== */
.typo-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.typo-font {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.typo-font h3 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.typo-use {
    color: var(--color-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

.typo-sample {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.typo-sample span {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.typo-alphabet {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-gray-700);
    word-break: break-all;
}

.typo-example {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.typo-example h4 {
    font-size: 1rem;
    color: var(--color-gray-500);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.typo-demo {
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--color-gray-100), var(--color-white));
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-orange);
}

.demo-h1 {
    color: var(--color-gray-900);
    margin-bottom: var(--space-md) !important;
}

.demo-h2 {
    color: var(--color-purple);
    margin-bottom: var(--space-lg) !important;
}

.demo-body {
    color: var(--color-gray-600);
    line-height: 1.8;
}

/* Typography Hierarchy */
.typo-hierarchy {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-top: var(--space-2xl);
}

.typo-hierarchy h3 {
    text-align: center;
    margin-bottom: var(--space-xl);
    font-size: 1.25rem;
}

.hierarchy-table {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hierarchy-row {
    display: grid;
    grid-template-columns: 80px 120px 1fr;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.hierarchy-row:hover {
    background: linear-gradient(90deg, rgba(242, 101, 34, 0.05), var(--color-gray-100));
}

.hierarchy-label {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-orange);
}

.hierarchy-size {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    color: var(--color-gray-600);
}

.hierarchy-use {
    color: var(--color-gray-700);
}

/* ===================================
   Elements Section
   =================================== */
.elements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.element-category {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.element-category h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.element-category > p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-xl);
}

.shapes-demo {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
    padding: var(--space-xl);
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
}

.shape-item {
    width: 70px;
    height: 70px;
    transition: all var(--transition-base);
    cursor: pointer;
}

.shape-item:hover {
    transform: scale(1.15) rotate(10deg);
}

.shape-item.triangle {
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 70px solid;
    background: transparent !important;
}

/* Blob Shapes */
.blob-shape {
    width: 70px;
    height: 70px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transition: all var(--transition-base);
    cursor: pointer;
    animation: morph 8s infinite ease-in-out;
}

.blob-shape:hover {
    transform: scale(1.2);
}

.blob-shape.blob-2 {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    animation-delay: -2s;
}

.blob-shape.blob-3 {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    animation-delay: -4s;
}

.blob-shape.blob-4 {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    animation-delay: -1s;
}

.blob-shape.blob-5 {
    border-radius: 73% 27% 42% 58% / 28% 75% 25% 72%;
    animation-delay: -3s;
}

.blob-shape.blob-6 {
    border-radius: 42% 58% 67% 33% / 37% 32% 68% 63%;
    animation-delay: -5s;
}

/* Patterns */
.patterns-section {
    text-align: center;
}

.patterns-section h3 {
    margin-bottom: var(--space-sm);
}

.patterns-section > p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-xl);
}

.patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.pattern-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.pattern-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pattern-preview {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.pattern-1 {
    background:
        radial-gradient(circle at 25% 25%, var(--color-orange) 8px, transparent 8px),
        radial-gradient(circle at 75% 75%, var(--color-yellow) 6px, transparent 6px),
        var(--color-gray-100);
    background-size: 60px 60px;
}

.pattern-2 {
    background: var(--color-gray-100);
    position: relative;
}

.pattern-2::before,
.pattern-2::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: patternPulse 4s infinite ease-in-out;
}

.pattern-2::before {
    width: 100px;
    height: 100px;
    background: rgba(45, 122, 140, 0.3);
    top: 20%;
    left: 20%;
}

.pattern-2::after {
    width: 80px;
    height: 80px;
    background: rgba(136, 216, 176, 0.4);
    bottom: 20%;
    right: 20%;
    animation-delay: -2s;
}

.pattern-3 {
    background: linear-gradient(135deg,
        rgba(242, 101, 34, 0.1) 0%,
        rgba(107, 91, 149, 0.1) 50%,
        rgba(45, 122, 140, 0.1) 100%
    );
    position: relative;
}

.pattern-3::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, var(--color-orange) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, var(--color-petrol) 3px, transparent 3px),
        radial-gradient(circle at 50% 50%, var(--color-purple) 4px, transparent 4px);
    background-size: 60px 60px;
    animation: patternMove 30s linear infinite reverse;
}

@keyframes patternMove {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

@keyframes patternPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.3; }
}

.pattern-card span {
    display: block;
    padding: var(--space-md);
    font-weight: 500;
    color: var(--color-gray-700);
}

/* ===================================
   Applications Section
   =================================== */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.app-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.app-preview {
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--color-gray-100), var(--color-gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.app-card h4 {
    padding: var(--space-lg) var(--space-lg) var(--space-sm);
    font-size: 1.1rem;
}

.app-card > p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-gray-600);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Mockup: Business Card */
.mockup-business-card {
    width: 200px;
    height: 120px;
    perspective: 500px;
}

.card-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-white), var(--color-gray-100));
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card-front::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-yellow));
    border-radius: 0 0 0 100%;
    opacity: 0.3;
}

.app-card:hover .card-front {
    transform: rotateY(-5deg) rotateX(5deg);
}

.card-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-coral));
    color: var(--color-white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.card-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-gray-800);
}

.card-subtitle {
    font-size: 0.7rem;
    color: var(--color-gray-500);
}

/* Mockup: Letterhead */
.mockup-letterhead {
    width: 180px;
    height: 240px;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform var(--transition-base);
}

.app-card:hover .mockup-letterhead {
    transform: translateY(-5px) rotate(-2deg);
}

.letterhead-header {
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-gray-200);
}

.letterhead-logo {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-coral));
    color: var(--color-white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.letterhead-shapes {
    width: 40px;
    height: 20px;
    display: flex;
    gap: 4px;
}

.letterhead-shapes::before,
.letterhead-shapes::after {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.letterhead-shapes::before {
    background: var(--color-yellow);
}

.letterhead-shapes::after {
    background: var(--color-petrol);
}

.letterhead-content {
    padding: var(--space-lg);
}

.letterhead-content .line {
    height: 6px;
    background: var(--color-gray-200);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.letterhead-content .line.short {
    width: 60%;
}

.letterhead-content .line.medium {
    width: 80%;
}

/* Mockup: Social */
.mockup-social {
    width: 180px;
    height: 180px;
}

.social-post {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-purple), var(--color-violet));
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.app-card:hover .social-post {
    transform: scale(1.05);
}

.social-shapes {
    position: absolute;
    inset: 0;
}

.social-shapes::before,
.social-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.social-shapes::before {
    width: 100px;
    height: 100px;
    background: var(--color-orange);
    top: -30px;
    right: -30px;
}

.social-shapes::after {
    width: 80px;
    height: 80px;
    background: var(--color-mint);
    bottom: -20px;
    left: -20px;
}

.social-text {
    position: relative;
    z-index: 1;
}

.social-text span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-white);
}

/* Mockup: Signage */
.mockup-signage {
    width: 200px;
    height: 160px;
}

.signage-window {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--color-sky), var(--color-white) 80%);
    border: 4px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.window-shapes {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(90deg,
        rgba(242, 101, 34, 0.2),
        rgba(255, 199, 39, 0.2),
        rgba(45, 122, 140, 0.2),
        rgba(107, 91, 149, 0.2)
    );
}

.window-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-gray-800);
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
}

/* ===================================
   Downloads Section
   =================================== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.download-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-petrol));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.download-card:hover::before {
    transform: scaleX(1);
}

.download-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.1), rgba(45, 122, 140, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.download-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-orange);
}

.download-card h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.download-card p {
    color: var(--color-gray-600);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.download-status {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-gray-100);
    color: var(--color-gray-500);
    font-size: 0.8rem;
    border-radius: var(--radius-full);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.footer-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-coral));
    color: var(--color-white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-gray-400);
    margin-bottom: 0;
}

.footer-info p {
    color: var(--color-gray-500);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--color-gray-500);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ===================================
   Toast Notification
   =================================== */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    opacity: 0;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.toast::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--color-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .elements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .nav {
        padding: 0 var(--space-md);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-2xl);
        gap: var(--space-xl);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-link--cta {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .hero-content {
        padding: var(--space-lg);
    }

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

    .logo-options {
        grid-template-columns: 1fr;
    }

    .palette-selector,
    .typo-selector {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .palette-tab,
    .typo-tab {
        width: 100%;
        text-align: center;
    }

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

    .neutral-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .hierarchy-row {
        grid-template-columns: 60px 1fr;
    }

    .hierarchy-use {
        display: none;
    }

    .typo-showcase {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .shape-1,
    .shape-3 {
        width: 120px;
        height: 120px;
    }

    .shape-2,
    .shape-4 {
        width: 80px;
        height: 80px;
    }

    .shape-5 {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .neutral-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .neutral-swatch {
        width: 60px;
        height: 60px;
    }

    .shapes-demo {
        gap: var(--space-md);
        padding: var(--space-md);
    }

    .shape-item,
    .blob-shape {
        width: 50px;
        height: 50px;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-gray-600: #4a4a4a;
        --color-gray-500: #5a5a5a;
    }

    .color-code,
    .neutral-card .color-code {
        border: 1px solid var(--color-gray-400);
    }
}

/* Print styles */
@media print {
    .nav,
    .hero-shapes,
    .toast {
        display: none !important;
    }

    .section {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        text-decoration: underline;
    }
}
