/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #000000;
    --bg-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-primary: #3b82f6;
    --accent-secondary: #1e40af;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --border-color: rgba(59, 130, 246, 0.2);
    --grid-color: rgba(59, 130, 246, 0.05);
    --hero-blur-bg: rgba(10, 10, 10, 0.6);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-primary: #2563eb;
    --accent-secondary: #1e3a8a;
    --accent-glow: rgba(37, 99, 235, 0.2);
    --border-color: rgba(37, 99, 235, 0.3);
    --grid-color: rgba(37, 99, 235, 0.03);
    --hero-blur-bg: rgba(255, 255, 255, 0.8);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    overflow-x: hidden;
}

/* Animated grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    opacity: 0.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Navigation ===== */
.navbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    /* Increased horizontal padding */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-glow);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.logo-text {
    display: inline-block;
}

.logo-suffix {
    color: var(--text-primary);
    -webkit-text-fill-color: var(--text-primary); /* Override for hero gradient */
    background: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--accent-glow);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-contact-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: var(--accent-primary) !important;
    border: 1px solid var(--accent-primary);
    border-radius: 5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-contact-btn:hover {
    background: var(--accent-primary);
    color: white !important;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--accent-primary);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--accent-primary);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--accent-glow);
}

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

.hero-content {
    text-align: center;
    z-index: 5;
    position: relative;
    max-width: 900px;
    padding: 0;
}

/* Soft feathered blur behind text - no hard edges */
.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--hero-blur-bg) 0%, transparent 80%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    mask-image: radial-gradient(circle, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
}

.hero-logo {
    max-width: 250px;
    width: 60%;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 30px var(--accent-glow));
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}


.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow:
        0 0 20px var(--accent-glow),
        0 0 40px var(--accent-glow);
}

/* Glitch animation - Note: Currently disabled in home.html */
/* To enable glitch animation, use the following line in home.html */
/* <h1 class="glitch" data-text="SYNCLOGIC">SYNCLOGIC</h1> */

/* .glitch {
    position: relative;
    animation: glitch 3s infinite;
} */

@keyframes glitch {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    92% {
        transform: translate(-2px, 2px);
    }

    94% {
        transform: translate(2px, -2px);
    }

    96% {
        transform: translate(-2px, -2px);
    }
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--accent-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: white;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: var(--accent-primary);
    color: white !important;
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
}

/* Technical Background Components */
.hero-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.blueprint-grid {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
    /* At rotateX(60deg), vertical scale is cos(60deg) = 0.5.
       To appear as 60x60 squares visually, use 60x120 cells so they squash to 60x60. */
    background-size: 60px 120px;
    transform: perspective(1000px) rotateX(60deg);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 5;
}


.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.data-particle {
    position: absolute;
    background: var(--accent-primary);
    height: 2px;
    width: 40px;
    border-radius: 2px;
    opacity: 0;
    animation: flowDown linear infinite;
}

@keyframes flowDown {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(10, 10, 10, 0) 0%, var(--bg-primary) 85%);
    z-index: 2;
    pointer-events: none;
}

/* ===== Features Section ===== */
.features {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

/* ===== Page Header ===== */
.page-header {
    padding: 2rem 0 1.5rem;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--accent-glow);
}

/* ===== Services Grid ===== */

.services-list {
    padding: 2rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-4px);
}

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

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card:hover .service-icon {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 12px var(--accent-glow);
}

.service-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.service-card li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.service-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.service-cta {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    padding: 0.45rem 1.25rem;
    align-self: flex-start;
}

/* ===== About ===== */
.about-content {
    padding: 3rem 0;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.tech-item h3 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--bg-card);
    border-left: 3px solid var(--accent-primary);
    border-radius: 5px;
}

/* ===== Contact ===== */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.info-item a {
    color: var(--accent-primary);
    text-decoration: none;
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
}

.contact-form-container h2 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-glow);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.25) !important;
}

/* CAPTCHA Styles */
.captcha-group {
    background: transparent;
    padding: 0;
    border: none;
}

.captcha-group label {
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.captcha-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.captcha-input-wrapper input {
    max-width: 150px;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 2px;
}

.captcha-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== Footer ===== */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

/* ===== Contact Form Wizard ===== */
.wizard-form {
    position: relative;
    min-height: 350px;
}

.wizard-progress {
    width: 100%;
    height: 4px;
    background: var(--bg-primary);
    border-radius: 2px;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent-primary);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-step {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.wizard-step.active {
    display: block;
    opacity: 1;
    animation: fadeInStep 0.5s forwards;
}

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

.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.wizard-step h3 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

/* Keyword Pills */
.keyword-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.keyword-pill {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    user-select: none;
}

/* Dual-tone Logo Branding */
.logo-suffix {
    color: var(--text-primary);
    font-weight: 300;
}

/* Global Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--accent-primary);
}

.modal-header {
    text-align: left;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-header p {
    color: var(--text-secondary);
}

/* Wizard Steps & Progress */
.wizard-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), #60a5fa);
    width: 0%;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Color Picker & Selection Styles */
.color-selection-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.selected-colors-preview {
    display: flex;
    gap: 1rem;
    align-items: center;
    min-height: 60px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px dashed var(--border-color);
}

.selected-color-item {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.selected-color-item::after {
    content: '×';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.swatch-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.swatch-btn:hover {
    transform: translateY(-3px);
}

.color-custom-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hex-input-wrapper {
    flex: 1;
    position: relative;
}

.hex-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
}

.hex-input-wrapper::before {
    content: '#';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.custom-picker-btn {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    overflow: hidden;
}

.custom-picker-btn input[type="color"] {
    width: 140%;
    height: 140%;
    margin: -20%;
    cursor: pointer;
}

/* Deadline Input Style */
.deadline-input {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--accent-primary);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all 0.3s;
}

.deadline-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-style: solid;
    outline: none;
    box-shadow: 0 0 15px var(--accent-glow);
}

.keyword-pill:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.keyword-pill.selected {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Mobile Nav */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        width: 70%;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(20px);
        transition: 0.3s;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-contact-btn {
        width: 100%;
        text-align: center;
    }

    /* Layout Stacking */
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .hero-logo {
        max-width: 180px;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
    }

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

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

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-section {
    padding: 5rem 0 4rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}


.pricing-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    padding: 0.6rem 1.75rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--accent-glow);
    white-space: nowrap;
    z-index: 10;
}

.plan-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.plan-name {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.plan-price {
    margin: 1rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    align-self: flex-start;
    margin-top: 0.5rem;
}

.price {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.plan-best-for {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
}

.plan-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.plan-tagline {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
    text-align: left;
}

.plan-features li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
}

/* ===== Success Message ===== */
.success-message {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-align: center;
    animation: slideIn 0.3s ease;
}

/* ===== Contact Source Banner ===== */
.source-banner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-left: 3px solid var(--accent-primary);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.source-banner-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.source-banner strong {
    color: var(--accent-primary);
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Journey Path Selector ===== */
.journey-selector {
    padding: 3rem 0 2rem;
    background: var(--bg-primary);
}

.journey-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.journey-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.journey-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-5px);
}

.journey-card-featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
}

.journey-card-featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.journey-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.journey-card h2 {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.journey-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.journey-cta {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: letter-spacing 0.2s ease;
}

.journey-card:hover .journey-cta {
    letter-spacing: 0.5px;
}

/* ===== Section Intro ===== */
.section-intro {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-intro h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-intro p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.alt-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* ===== Plan Card Overrides for Plans Page ===== */
.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.plan-tier-label {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.plan-problem-solution {
    text-align: left;
    margin-bottom: 1.5rem;
}

.plan-problem,
.plan-solution {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
}

.plan-problem {
    color: var(--text-secondary);
    background: rgba(255, 100, 100, 0.06);
}

.plan-solution {
    color: var(--text-secondary);
    background: rgba(59, 130, 246, 0.06);
}

/* Custom / "Contact us" price display */
.custom-price {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
}

.price-custom {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--accent-primary);
    -webkit-text-fill-color: var(--accent-primary);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

/* ===== Hosting Comparison Table ===== */
.comparison-table-wrapper {
    margin-top: 4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.comparison-table-wrapper:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 25px var(--accent-glow);
}

.comparison-table-wrapper h3 {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.85rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    color: var(--text-secondary);
    font-weight: 500;
}

.comparison-table thead th {
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
}

.comparison-table thead th span {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.comparison-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.04);
}

.comparison-table td {
    color: var(--text-primary);
}

/* ===== Build Pricing Model Toggle ===== */
.pricing-toggle-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-toggle {
    display: inline-flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 0.75rem;
}

.toggle-btn {
    padding: 0.6rem 1.75rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.toggle-btn.active {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 2px 10px var(--accent-glow);
}

.toggle-hint {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}

.hidden {
    display: none !important;
}

/* ===== Upfront Model Layout ===== */
.upfront-layout {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.upfront-hero {
    margin-bottom: 2.5rem;
}

.upfront-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.upfront-hero h3 {
    font-size: 1.9rem;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.upfront-hero p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.upfront-hero strong {
    color: var(--text-primary);
}

.upfront-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.upfront-step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.upfront-step:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-glow);
}

.step-number {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 0 10px var(--accent-glow);
}

.step-content h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
}

.upfront-callout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.07);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 14px;
    margin-bottom: 2.5rem;
    text-align: left;
}

.callout-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1.2;
}

.upfront-callout strong {
    display: block;
    color: var(--accent-primary);
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.upfront-callout p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.upfront-cta {
    display: inline-block;
    padding: 1rem 3rem;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    transition: color 0.2s ease;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--accent-primary);
    line-height: 1;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding-bottom 0.3s ease;
}

.faq-answer.open {
    max-height: 600px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--text-primary);
}

/* ===== Plans Page Responsive Additions ===== */
@media (max-width: 1024px) {
    .three-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .journey-card {
        padding: 2rem 1.5rem;
    }

    .three-col {
        grid-template-columns: 1fr;
    }

    .section-intro h2 {
        font-size: 1.75rem;
    }

    .upfront-callout {
        flex-direction: column;
    }

    .comparison-table {
        font-size: 0.8rem;
        min-width: 500px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.75rem;
    }

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

    .toggle-btn {
        padding: 0.5rem 1.1rem;
        font-size: 0.875rem;
    }
}

/* ===== Global Questionnaire Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 95%;
    max-width: 750px; /* Increased max-width */
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 3rem; /* Increased padding */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1.15rem; /* Increased base font size for modal */
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.modal-close:hover {
    color: var(--accent-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    color: var(--accent-primary);
    font-size: 2.2rem; /* Increased */
    margin-bottom: 0.75rem;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 1.1rem; /* Increased */
}

/* Intent Tile Grid */
.modal-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.tile-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tile-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.tile-btn i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.tile-btn span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-choice-step {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Center elements horizontally */
    text-align: center;     /* Ensure text lines are centered */
    gap: 15px;              /* Adds consistent spacing between items */
}

.modal-choice-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end; /* Align buttons to the right */
}

/* Modal Wizard Overrides */


.modal-container .wizard-step h3 {
    font-size: 1.5rem; /* Increased */
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.modal-container .wizard-actions {
    display: flex;
    justify-content: flex-end; /* Keep Next buttons on the right for form ergonomics */
    gap: 1rem;
    margin-top: 2.5rem;
}

.modal-container .form-group label {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.modal-container input,
.modal-container textarea,
.modal-container select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.modal-container input:focus,
.modal-container textarea:focus,
.modal-container select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-glow);
}

.modal-container .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: 2rem 1.5rem;
    }
    
    .modal-choice-buttons {
        flex-direction: column;
    }
}

/* Questionnaire Specific Overrides */
.modal-container .wizard-step .keyword-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.modal-container .wizard-step .keyword-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-container .wizard-step .keyword-pill:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.modal-container .wizard-step .keyword-pill.selected {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-glow);
}

.keyword-custom-input {
    margin-bottom: 1.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px dashed var(--accent-primary);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.keyword-custom-input:focus {
    outline: none;
    border-style: solid;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px var(--accent-glow);
}

.message-input, .deadline-input {
    width: 100%;
    min-height: 120px;
    margin-bottom: 1.5rem;
    resize: vertical;
}

.deadline-input {
    min-height: 80px;
}

/* Color Selection Styling */
.color-selection-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.selected-colors-preview {
    display: flex;
    gap: 0.75rem;
    min-height: 48px;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    align-items: center;
    justify-content: center;
}

.color-options-group {
    margin-bottom: 1.5rem;
}

.color-options-group h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.color-swatches {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.swatch-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.swatch-btn:hover {
    transform: scale(1.1);
    border-color: white;
}

.color-custom-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.hex-input-wrapper {
    position: relative;
    flex: 1;
}

.hex-input-wrapper::before {
    content: "#";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.hex-input-wrapper input {
    padding-left: 2rem !important;
}

.custom-picker-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: none;
    padding: 4px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.custom-picker-btn input[type="color"] {
    width: 140%;
    height: 140%;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    transform: scale(1.5);
}