@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Theme Colors (HSL) */
    --color-bg-deep: hsl(230, 30%, 4%);
    --color-bg-dark: hsl(230, 25%, 7%);
    --color-bg-card: hsla(230, 25%, 12%, 0.45);
    --color-border: hsla(230, 25%, 25%, 0.25);
    --color-border-glow: hsla(220, 90%, 56%, 0.2);

    --color-primary: hsl(220, 90%, 56%);
    --color-primary-glow: hsla(220, 90%, 56%, 0.5);
    --color-secondary: hsl(328, 95%, 53%);
    --color-secondary-glow: hsla(328, 95%, 53%, 0.5);
    --color-cyan: hsl(180, 100%, 45%);
    --color-cyan-glow: hsla(180, 100%, 45%, 0.5);
    --color-gold: hsl(45, 100%, 50%);
    --color-gold-glow: hsla(45, 100%, 50%, 0.4);

    --color-text-main: hsl(0, 0%, 100%);
    --color-text-muted: hsl(230, 15%, 75%);
    --color-text-dim: hsl(230, 12%, 55%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-cyan: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-primary) 100%);
    --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, var(--color-secondary) 100%);
    --gradient-dark: linear-gradient(180deg, var(--color-bg-deep) 0%, var(--color-bg-dark) 100%);
    
    /* Layout */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --- LIGHT THEME OVERRIDES --- */
.light-theme {
    --color-bg-deep: hsl(230, 30%, 97%);
    --color-bg-dark: hsl(230, 25%, 92%);
    --color-bg-card: hsla(230, 25%, 100%, 0.7);
    --color-border: hsla(230, 25%, 15%, 0.08);
    --color-border-glow: hsla(220, 90%, 50%, 0.08);

    --color-primary: hsl(220, 90%, 50%);
    --color-primary-glow: hsla(220, 90%, 50%, 0.25);
    --color-secondary: hsl(328, 95%, 48%);
    --color-secondary-glow: hsla(328, 95%, 48%, 0.25);
    --color-cyan: hsl(190, 95%, 42%);
    --color-cyan-glow: hsla(190, 95%, 42%, 0.25);
    --color-gold: hsl(42, 95%, 45%);
    --color-gold-glow: hsla(42, 95%, 45%, 0.2);

    --color-text-main: hsl(230, 30%, 12%);
    --color-text-muted: hsl(230, 15%, 35%);
    --color-text-dim: hsl(230, 12%, 52%);
}

.light-theme .glow-bubble {
    opacity: 0.07;
    filter: blur(120px);
}

.light-theme .db-card {
    background: rgba(0, 0, 0, 0.015);
    border-color: rgba(0, 0, 0, 0.06);
}

.light-theme .db-appointment-item {
    background: rgba(0, 0, 0, 0.01);
    border-top: 1px solid rgba(0, 0, 0, 0.02);
}

.light-theme .db-appt-time {
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-text-muted);
}

.light-theme .db-badge {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.light-theme .dashboard-mockup {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.light-theme .header.scrolled {
    background: hsla(230, 30%, 97%, 0.85);
}

.light-theme .pricing-price {
    background: none;
    -webkit-text-fill-color: var(--color-text-main) !important;
    color: var(--color-text-main) !important;
}

.light-theme ::-webkit-scrollbar-thumb {
    background: hsla(230, 25%, 80%, 0.8);
}
.light-theme ::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}



/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: hsla(230, 25%, 20%, 0.8);
    border-radius: 5px;
    border: 2px solid var(--color-bg-deep);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

button {
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 7rem 0;
    position: relative;
}

.text-center { text-align: center; }
.mobile-only { display: none !important; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- BACKGROUND GLOW & ANIMATED PARTICLES --- */
.bg-ambient-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.glow-bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.22;
    mix-blend-mode: screen;
}

.bubble-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    top: -200px;
    right: -100px;
    animation: float-bubble-1 25s infinite alternate ease-in-out;
}

.bubble-2 {
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
    bottom: 20%;
    left: -150px;
    animation: float-bubble-2 30s infinite alternate ease-in-out;
}

.bubble-3 {
    width: 450px;
    height: 450px;
    background: var(--color-cyan);
    top: 40%;
    right: -100px;
    animation: float-bubble-1 28s infinite alternate-reverse ease-in-out;
}

.bubble-4 {
    width: 400px;
    height: 400px;
    background: var(--color-gold);
    bottom: -150px;
    right: 30%;
    animation: float-bubble-2 20s infinite alternate ease-in-out;
}

/* Glassmorphism Styles */
.glass-panel {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: hsla(220, 90%, 56%, 0.4);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5), 0 0 20px var(--color-border-glow);
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(220, 100%, 58%) 0%, hsl(200, 100%, 50%) 100%);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, hsl(220, 100%, 63%) 0%, hsl(195, 100%, 53%) 100%);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.65);
    border-color: rgba(255, 255, 255, 0.25);
}


.btn-secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.btn-cyan {
    background: var(--gradient-cyan);
    color: var(--color-bg-deep);
    font-weight: 700;
    box-shadow: 0 4px 15px var(--color-cyan-glow);
}

.btn-cyan:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--color-cyan-glow);
}

/* --- GLOBAL HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}

.header.scrolled {
    padding: 0.8rem 0;
    background: rgba(8, 9, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



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

.nav-item a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-family: var(--font-heading);
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--color-text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Language Selector */
.lang-selector {
    position: relative;
    z-index: 10;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    height: 42px;
}

.lang-btn:hover {
    border-color: var(--color-primary);
}

.lang-btn .chevron-icon {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition-fast);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 130px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.lang-dropdown.show {
    display: flex;
}

.lang-dropdown button {
    text-align: left;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border-radius: 4px;
    transition: var(--transition-fast);
    width: 100%;
}

.lang-dropdown button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-main);
}


/* Theme Toggle Button */
.theme-toggle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.theme-toggle-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary-glow);
    transform: scale(1.05);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.5s ease;
}

/* Hide theme icons depending on state */
.theme-toggle-btn .sun-icon {
    display: none;
}

.light-theme .theme-toggle-btn .sun-icon {
    display: block;
}

.light-theme .theme-toggle-btn .moon-icon {
    display: none;
}

.light-theme .theme-toggle-btn svg {
    transform: rotate(360deg);
}


.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-text-main);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

.hero-subtitle {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-cyan);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--color-cyan);
    box-shadow: 0 0 8px var(--color-cyan);
    border-radius: 50%;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Futuristic Dashboard Mockup */
.hero-visual {
    position: relative;
}

.dashboard-mockup {
    width: 100%;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.db-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.db-dots {
    display: flex;
    gap: 6px;
}

.db-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.db-dots span:nth-child(1) { background: hsl(0, 80%, 60%); }
.db-dots span:nth-child(2) { background: hsl(40, 80%, 60%); }
.db-dots span:nth-child(3) { background: hsl(120, 80%, 60%); }

.db-title {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    font-family: var(--font-heading);
}

.db-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.db-avatar {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

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

.db-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
}

.db-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.db-appointments {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.db-appointment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--color-primary);
    border-radius: 4px;
    font-size: 0.8rem;
}

.db-appointment-item.cyan { border-left-color: var(--color-cyan); }
.db-appointment-item.gold { border-left-color: var(--color-gold); }

.db-appt-info h4 { font-size: 0.85rem; margin-bottom: 2px; }
.db-appt-info p { color: var(--color-text-dim); font-size: 0.75rem; }

.db-appt-time {
    background: var(--color-border);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.db-stats-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.db-stat-item {
    text-align: center;
}

.db-stat-item h3 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.db-stat-item p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.db-badge {
    position: absolute;
    background: rgba(8, 9, 15, 0.85);
    border: 1px solid var(--color-primary);
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.db-badge-1 {
    top: 20%;
    left: -50px;
    animation: float-slow 6s infinite alternate ease-in-out;
}

.db-badge-2 {
    bottom: 10%;
    right: -40px;
    animation: float-slow 7s infinite alternate-reverse ease-in-out;
}

.db-badge-icon {
    width: 32px;
    height: 32px;
    background: var(--color-primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
}

.db-badge-icon.cyan { background: var(--color-cyan-glow); color: var(--color-cyan); }

.db-badge-text h5 { font-size: 0.85rem; margin-bottom: 2px; }
.db-badge-text p { font-size: 0.7rem; color: var(--color-text-dim); }

/* --- STATS / METRICS BANNER --- */
.stats-section {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02) 50%, transparent);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--color-border), transparent);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--color-cyan);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon {
    transform: rotateY(180deg) scale(1.1);
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px var(--color-secondary-glow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #fff 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-dim);
    font-weight: 500;
}

/* --- SECTION HEADER --- */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: block;
}

.section-title {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* --- FEATURES GRID SECTION --- */
.features-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-text-main);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--color-primary);
    color: var(--color-text-main);
    box-shadow: 0 0 15px var(--color-primary-glow);
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* --- HOW IT WORKS TIMELINE --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-cyan) 100%);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 5rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-bg-deep);
    border: 4px solid var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 15px;
    z-index: 5;
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(2) .timeline-dot { border-color: var(--color-secondary); box-shadow: 0 0 15px var(--color-secondary-glow); }
.timeline-item:nth-child(3) .timeline-dot { border-color: var(--color-cyan); box-shadow: 0 0 15px var(--color-cyan-glow); }
.timeline-item:nth-child(4) .timeline-dot { border-color: var(--color-gold); box-shadow: 0 0 15px var(--color-gold-glow); }

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    background: var(--color-text-main);
}

.timeline-content {
    width: 44%;
    padding: 2rem;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.timeline-item:nth-child(2) .timeline-number { background: var(--gradient-gold); -webkit-background-clip: text; }
.timeline-item:nth-child(3) .timeline-number { background: var(--gradient-cyan); -webkit-background-clip: text; }
.timeline-item:nth-child(4) .timeline-number { background: var(--gradient-primary); -webkit-background-clip: text; }

.timeline-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- PRICING SECTION --- */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.toggle-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.toggle-label.active {
    color: var(--color-text-main);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-border);
    border-radius: 34px;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: var(--color-text-main);
    border-radius: 50%;
    transition: 0.4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

input:checked + .slider {
    background-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary-glow);
}

input:checked + .slider:before {
    transform: translateX(28px);
}

.pricing-discount {
    background: var(--color-secondary-glow);
    color: var(--color-secondary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--color-secondary);
    animation: pulse-glow 2s infinite ease-in-out;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--color-primary);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 25px var(--color-border-glow);
}

.pricing-card.popular::before {
    content: 'EN POPÜLER';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px var(--color-primary-glow);
}

.pricing-plan-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pricing-price-container {
    display: flex;
    align-items: baseline;
    margin: 1.5rem 0;
}

.pricing-price {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-period {
    color: var(--color-text-dim);
    margin-left: 0.5rem;
    font-size: 0.95rem;
}

.pricing-desc {
    color: var(--color-text-dim);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.pricing-features-list li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--color-cyan);
}

.pricing-card.popular .pricing-features-list li svg {
    color: var(--color-secondary);
}

.pricing-features-list li.disabled {
    opacity: 0.45;
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.15);
}

.light-theme .pricing-features-list li.disabled {
    text-decoration-color: rgba(0, 0, 0, 0.15);
}

.pricing-features-list li.disabled svg {
    color: hsla(0, 80%, 60%, 0.65) !important;
}


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

/* --- CLIENT TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.client-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    background: var(--gradient-cyan);
    color: var(--color-bg-deep);
}

.testimonial-card:nth-child(2) .client-avatar { background: var(--gradient-primary); }
.testimonial-card:nth-child(3) .client-avatar { background: var(--gradient-gold); }

.client-meta h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.client-meta p {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.client-rating {
    display: flex;
    gap: 4px;
    color: var(--color-gold);
    margin-bottom: 1.2rem;
}

.client-rating svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-style: italic;
    line-height: 1.6;
    flex-grow: 1;
}

/* --- FAQ ACCORDION --- */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.faq-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.faq-sidebar h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-cat-btn {
    text-align: left;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-primary);
    color: var(--color-text-main);
}

.faq-cat-btn::after {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
    color: var(--color-primary);
}

.faq-cat-btn:hover::after,
.faq-cat-btn.active::after {
    opacity: 1;
    transform: translateX(0);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-smooth);
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.faq-icon-toggle {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon-toggle::before,
.faq-icon-toggle::after {
    content: '';
    position: absolute;
    background: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.faq-icon-toggle::before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-icon-toggle::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
}

.faq-item.active .faq-icon-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon-toggle::before {
    background: var(--color-cyan);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 2rem 1.8rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- DYNAMIC NEWSLETTER & FOOTER --- */
.newsletter-banner {
    padding: 4rem;
    border-radius: var(--border-radius-lg);
    background: radial-gradient(circle at top right, rgba(263, 85, 58, 0.08), transparent 60%);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.newsletter-text p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex-grow: 1;
    background: rgba(8, 9, 15, 0.7);
    border: 1px solid var(--color-border);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    color: var(--color-text-main);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-smooth);
}

.newsletter-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary-glow);
}

.footer {
    background: var(--color-bg-deep);
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo-panel p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 1.2rem 0;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-text-main);
    box-shadow: 0 0 10px var(--color-primary-glow);
    transform: translateY(-2px);
}

.footer-nav-col h4 {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-links-list a:hover {
    color: var(--color-text-main);
    padding-left: 4px;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-contact-info strong {
    color: var(--color-text-main);
}

.footer-store-badges {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.store-badge img {
    height: 36px;
    border-radius: 5px;
    transition: var(--transition-fast);
}

.store-badge img:hover {
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    color: var(--color-text-dim);
    font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes float-bubble-1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, 60px) scale(1.1); }
    100% { transform: translate(-40px, 100px) scale(0.9); }
}

@keyframes float-bubble-2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, -80px) scale(0.95); }
    100% { transform: translate(50px, 40px) scale(1.05); }
}

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

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.9; box-shadow: 0 0 5px var(--color-secondary-glow); }
    50% { transform: scale(1.03); opacity: 1; box-shadow: 0 0 15px var(--color-secondary-glow); }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    html { font-size: 15px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; gap: 3rem; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .faq-layout { grid-template-columns: 1fr; gap: 3rem; }
    .faq-sidebar { position: relative; top: 0; }
    .newsletter-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .newsletter-form { max-width: 500px; margin: 0 auto; width: 100%; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .section-padding { padding: 5rem 0; }
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .hero { min-height: auto; padding-top: 10rem; padding-bottom: 5rem; text-align: center; }
    .hero-title { font-size: 2.8rem; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .db-badge-1 { left: -10px; }
    .db-badge-2 { right: -10px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card::after { display: none; }
    .features-filter { flex-wrap: wrap; }
    .features-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .timeline::before { left: 20px; }
    .timeline-dot { left: 20px; }
    .timeline-content { width: calc(100% - 50px); text-align: left !important; padding: 1.5rem 0 1.5rem 2rem; }
    .timeline-item { margin-bottom: 3rem; }
    .timeline-item:nth-child(even) { flex-direction: row; }
    
    /* Navigation drawer for mobile */
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-dark);
        border-left: 1px solid var(--color-border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .header-actions {
        display: flex !important;
        gap: 0.5rem;
        margin-right: 0.5rem;
    }
    .header-actions .btn {
        display: none !important;
    }
    .lang-btn {
        padding: 0.4rem 0.6rem;
        height: 38px;
        font-size: 0.85rem;
    }
    .theme-toggle-btn {
        width: 38px;
        height: 38px;
    }
    .mobile-only {
        display: block !important;
        width: 100%;
        text-align: center;
    }
    .nav-links .mobile-only a {
        color: var(--color-text-main) !important;
        font-weight: 700;
    }
    .nav-links .mobile-only .btn {
        display: inline-flex !important;
        width: 80% !important;
    }
    
    /* Cross icon animation for menu */
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .hero-title { font-size: 2.3rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .newsletter-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* --- BRAND LOGO VECTOR STYLING --- */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
}
.logo-svg {
    height: 56px;
    width: auto;
}
.logo-cal-body {
    fill: none;
    stroke: #00e6c3;
    stroke-width: 3.5px;
    filter: drop-shadow(0 0 3px rgba(0, 230, 195, 0.7));
}
.logo-cal-hanger {
    fill: #00e6c3;
    filter: drop-shadow(0 0 3px rgba(0, 230, 195, 0.7));
}
.logo-cal-text {
    fill: #94a3b8;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
}
.logo-cal-dot {
    fill: rgba(0, 230, 195, 0.5);
}
.logo-clock-bg {
    fill: #08090f; /* masks calendar elements */
    transition: fill 0.3s ease;
}
.logo-clock-arrow {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3.5px;
    stroke-linecap: round;
}
.logo-clock-arrow-head {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.logo-clock-hand {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.5px;
    stroke-linecap: round;
}
.logo-clock-smile {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2px;
    stroke-linecap: round;
}
.logo-clock-check {
    fill: none;
    stroke: #ffffff;
    stroke-width: 4.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.logo-text-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.01em;
}
.logo-text-randevu {
    fill: #e2e8f0; /* clean slate white */
}
.logo-text-365 {
    fill: #ffffff;
}
.logo-text-subtitle {
    fill: #94a3b8;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.05em;
}

/* Light Theme overrides for Logo */
.light-theme .logo-cal-body {
    stroke: url(#lightCalGrad);
    filter: none;
}
.light-theme .logo-cal-hanger {
    fill: url(#lightCalGrad);
    filter: none;
}
.light-theme .logo-cal-text {
    fill: #1e3a8a;
}
.light-theme .logo-cal-dot {
    fill: rgba(37, 99, 235, 0.25);
}
.light-theme .logo-clock-bg {
    fill: hsl(230, 30%, 97%); /* matches light theme deep bg */
}
.light-theme .logo-clock-arrow,
.light-theme .logo-clock-arrow-head {
    stroke: #0d9488;
}
.light-theme .logo-clock-hand,
.light-theme .logo-clock-smile {
    stroke: #1e3a8a;
}
.light-theme .logo-clock-check {
    stroke: #2563eb;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.15));
}
.light-theme .logo-text-randevu {
    fill: #1e40af; /* deep blue */
}
.light-theme .logo-text-365 {
    fill: #0d9488; /* teal */
}
.light-theme .logo-text-subtitle {
    fill: #4b5563; /* dark gray */
}

/* Footer specific overrides for Logo in dark footer */
.footer .logo-clock-bg {
    fill: #08090f !important;
}
.footer .logo-cal-body {
    stroke: #00e6c3 !important;
    filter: drop-shadow(0 0 3px rgba(0, 230, 195, 0.7)) !important;
}
.footer .logo-cal-hanger {
    fill: #00e6c3 !important;
    filter: drop-shadow(0 0 3px rgba(0, 230, 195, 0.7)) !important;
}
.footer .logo-cal-text {
    fill: #94a3b8 !important;
}
.footer .logo-clock-arrow,
.footer .logo-clock-arrow-head,
.footer .logo-clock-hand,
.footer .logo-clock-smile,
.footer .logo-clock-check {
    stroke: #ffffff !important;
}
.footer .logo-text-randevu {
    fill: #e2e8f0 !important;
}
.footer .logo-text-365 {
    fill: #ffffff !important;
}
.footer .logo-text-subtitle {
    fill: #94a3b8 !important;
}

@media (max-width: 768px) {
    .logo-svg {
        height: 42px;
    }
}


