:root {
    --bg: #f7f9fc;
    --text: #1a1a1a;
    --accent: #1e3c72;
    --accent-soft: #2a5298;
    --card: #ffffff;
    --border-subtle: #d0d4e0;
    --focus: #ffb74d;
}

body.dark {
    --bg: #0f1115;
    --text: #e6e6e6;
    --accent: #4c8bff;
    --accent-soft: #2a3f6b;
    --card: #181b22;
    --border-subtle: #303545;
    --focus: #ffd54f;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    line-height: 1.6;
    transition: background 0.25s ease, color 0.25s ease;
    position: relative;
    overflow-x: hidden;
}

/* Focus */
:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

/* Cursor glow */

.cursor-glow {
    position: fixed;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(76,139,255,0.18), transparent 60%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

/* Hero */

.hero {
    background: radial-gradient(circle at top left, rgba(255,255,255,0.15), transparent),
                linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: white;
    padding: 24px 20px 120px;
    position: relative;
    overflow: hidden;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s ease;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: conic-gradient(from 200deg, #ffb74d, #4c8bff, #66bb6a, #ffb74d);
    box-shadow: 0 0 18px rgba(0,0,0,0.25);
}

.logo-text span:first-child {
    font-weight: 700;
    letter-spacing: 0.03em;
}

.logo-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
}

.top-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    color: white;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
}

.control-btn:hover {
    background: rgba(0,0,0,0.3);
    transform: translateY(-1px);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    margin-bottom: 12px;
}

.hero-content p {
    font-size: 1.05rem;
    max-width: 540px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    margin-top: 22px;
    padding: 11px 24px;
    background: #ffffff;
    color: var(--accent);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
    background: #f3f3f3;
}

/* Sections */

.section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.section p {
    margin-bottom: 10px;
}

/* Services */

.services-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.services-list li {
    background: var(--card);
    border: 1px solid var(--border-subtle);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Case Study */

.case-card {
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    padding: 18px 18px 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.case-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 10px;
}

.case-logo {
    width: 120px;
    height: auto;
    border-radius: 6px;
}

.case-subtitle {
    font-size: 0.9rem;
    opacity: 0.85;
}

.case-list {
    list-style: disc;
    padding-left: 20px;
}
.section#philosophy-heading::before {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Pricing Philosophy */
#philosophy-heading {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.philosophy-list {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.philosophy-list li {
    background: var(--card);
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    margin-bottom: 8px;
}
/* Updated Pricing Philosophy styling */
.pretty-philosophy li {
    background: linear-gradient(135deg, rgba(255, 214, 165, 0.15), rgba(255, 255, 255, 0.05));
    border: none;
    padding: 18px 20px;
    margin-bottom: 14px;
    border-radius: 14px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    box-shadow: none;
    cursor: default;
    transition: none;
}

/* Make them feel warm and welcoming in dark mode */
body.dark .pretty-philosophy li {
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.18), rgba(255, 255, 255, 0.06));
    color: #f7f7f7;
}

/* Remove hover effects entirely */
.pretty-philosophy li:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* Funnel */

.funnel {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.funnel select,
.funnel button {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: var(--card);
    color: var(--text);
    font-size: 0.95rem;
}

.funnel button {
    background: var(--accent);
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.funnel button:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}

/* Contact */

.contact-form {
    margin-top: 20px;
    display: grid;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: var(--card);
    color: var(--text);
    font-size: 0.95rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.contact-form button {
    margin-top: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.contact-form button:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}

.form-status {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Compliance badge */

.badge-wrapper {
    margin-top: 24px;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
}

.compliance-badge img {
    width: 40px;
    height: 40px;
    border-radius: 999px;
}

/* Footer */

footer {
    text-align: center;
    padding: 18px 20px;
    background: var(--accent);
    color: white;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* Scroll-triggered animations */

.observe {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28),
                transform 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    will-change: opacity, transform;
}

.observe.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tilt cards */

.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tilt-card:hover {
    box-shadow: 0 8px 18px rgba(0,0,0,0.16);
    border-color: var(--accent);
}

/* Magnetic buttons */

.magnetic {
    position: relative;
    overflow: hidden;
}

.service-item {
    cursor: pointer;
    position: relative;
}

.service-item span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 0;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
    padding-left: 4px;
}

.service-item.active .service-details {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
}

.service-details p {
    margin: 10px 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.service-details ul {
    list-style: disc;
    padding-left: 20px;
    margin: 8px 0 14px;
}

.service-details li {
    margin-bottom: 6px;
    font-size: 0.9rem;
}
.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    padding: 10px 0;
}

.service-icon {
    width: 26px;
    height: 26px;
    opacity: 0.9;
    flex-shrink: 0;
}

.arrow-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.25s ease;
    opacity: 0.8;
    flex-shrink: 0;
}

.service-item.active .arrow-icon {
    transform: rotate(180deg);
}

.service-header:hover .service-icon {
    opacity: 1;
    filter: drop-shadow(0 0 4px var(--accent));
}

.service-header:active {
    transform: scale(0.98);
}



/* Responsive */

@media (max-width: 700px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-content {
        text-align: left;
    }

    .case-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
