:root {
    --color-primary: #454372;
    --color-accent: #FF9E1B;
    --color-bg-light: #F8F9FA;
    --color-text: #2D2C4D;
    --font-header: 'Google Sans', 'Product Sans', sans-serif;
    --font-body: 'Google Sans Text', 'Google Sans', sans-serif;
    --radius-full: 50px;
    --radius-md: 12px;
}

html {
    scroll-behavior: smooth;
}

/* Buttons */
.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-full);
    padding: 14px 36px;
    font-weight: 600;
    font-family: var(--font-header);
    transition: all 0.25s ease;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 158, 27, 0.35);
}

.btn-secondary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    padding: 12px 34px;
    font-weight: 600;
    font-family: var(--font-header);
    background: transparent;
    transition: all 0.25s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-outline-amber {
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    padding: 12px 30px;
    font-weight: 600;
    font-family: var(--font-header);
    background: transparent;
    transition: all 0.25s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9rem;
}
.btn-outline-amber:hover {
    background-color: var(--color-accent);
    color: #fff;
}

/* Cards */
.card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(69, 67, 114, 0.1);
}

/* Profession cards on homepage */
.prof-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}
.prof-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(69, 67, 114, 0.12);
    border-color: var(--color-accent);
}
.prof-card .prof-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 158, 27, 0.1), rgba(69, 67, 114, 0.05));
    color: var(--color-accent);
    transition: all 0.3s ease;
}
.prof-card:hover .prof-icon {
    background: var(--color-accent);
    color: #fff;
    transform: scale(1.1);
}
.prof-card.coming-soon {
    opacity: 0.5;
    pointer-events: none;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    cursor: pointer;
    user-select: none;
}
.faq-answer {
    display: none;
}
.faq-answer.open {
    display: block;
}
.faq-chevron {
    transition: transform 0.3s ease;
}
.faq-chevron.open {
    transform: rotate(180deg);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    transform: translateY(20px);
    transition: transform 0.2s ease;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Navbar scroll */
.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98) !important;
}

/* GSAP animation helpers - initial state set by JS only */

/* Splide custom arrows */
.splide__arrow {
    background: #454372 !important;
    opacity: 1 !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    border: 3px solid #FF9E1B !important;
}
.splide__arrow:hover {
    background: #FF9E1B !important;
    border-color: #FF9E1B !important;
}
.splide__arrow svg {
    fill: #fff !important;
    width: 20px !important;
    height: 20px !important;
}
.splide__arrow--prev { left: 8px !important; }
.splide__arrow--next { right: 8px !important; }
.splide { padding: 0 50px; }
.splide__pagination__page { background: rgba(255,255,255,.3) !important; }
.splide__pagination__page.is-active { background: #FF9E1B !important; }

/* Hide scrollbar */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Typewriter cursor blink */
.typewriter-cursor {
    animation: blink 0.7s infinite;
    font-weight: 300;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Feature grid icon glow */
.feature-icon {
    position: relative;
}
.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 158, 27, 0.15), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card:hover .feature-icon::after {
    opacity: 1;
}

/* Smooth scroll for anchor links */
[data-scroll] {
    scroll-behavior: smooth;
}

/* Profession page hero gradient */
.prof-hero-gradient {
    background: linear-gradient(135deg, #454372 0%, #2D2C4D 50%, #454372 100%);
}

/* Stats counter */
.stat-number {
    font-variant-numeric: tabular-nums;
}

/* Prompt preview cards */
.prompt-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.prompt-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(255, 158, 27, 0.1);
}
