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

:root {
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Light Mode Color Palette (Default) */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e2e8f0;
    --bg-card: rgba(255, 255, 255, 0.65);
    --navbar-bg: rgba(248, 250, 252, 0.8);
    --navbar-bg-scrolled: rgba(248, 250, 252, 0.9);

    --accent-blue: #0076ff;
    --accent-blue-rgb: 0, 118, 255;
    --accent-blue-hover: #0060d4;
    --accent-cyan: #0099b8;
    --accent-green: #10b981;
    --accent-orange: #ea580c;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --border-color: rgba(15, 23, 42, 0.05);
    --border-glass: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(0, 118, 255, 0.2);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 20px rgba(0, 118, 255, 0.08);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;

    --max-width: 1200px;

    --glow-radial-1: radial-gradient(circle, rgba(0, 118, 255, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    --glow-radial-2: radial-gradient(circle, rgba(0, 180, 216, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    --glow-radial-3: radial-gradient(circle, rgba(16, 185, 129, 0.02) 0%, rgba(255, 255, 255, 0) 70%);
    --price-featured-bg: linear-gradient(180deg, rgba(0, 118, 255, 0.06) 0%, rgba(255, 255, 255, 0.95) 100%);
    --modal-backdrop: rgba(15, 23, 42, 0.4);
}

:root.dark-mode {
    /* Dark Mode Color Palette (Toggleable) */
    --bg-primary: #080c16;
    --bg-secondary: #0f1626;
    --bg-tertiary: #172033;
    --bg-card: rgba(25, 34, 56, 0.35);
    --navbar-bg: rgba(8, 12, 22, 0.75);
    --navbar-bg-scrolled: rgba(8, 12, 22, 0.85);

    --accent-blue: #0076ff;
    --accent-blue-hover: #0060d4;
    --accent-cyan: #00e5ff;
    --accent-green: #10b981;
    --accent-orange: #f97316;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #627288;

    --border-color: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 118, 255, 0.3);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 118, 255, 0.25);

    --glow-radial-1: radial-gradient(circle, rgba(0, 118, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    --glow-radial-2: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    --glow-radial-3: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    --price-featured-bg: linear-gradient(180deg, rgba(0, 118, 255, 0.05) 0%, rgba(25, 34, 56, 0.35) 100%);
    --modal-backdrop: rgba(8, 12, 22, 0.75);
}

/* Reset and Global Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-full);
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

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

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

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

/* Main Layout Wrapper */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Decorative Background Glows */
.bg-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: var(--border-radius-full);
    background: var(--glow-radial-1);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    top: 10%;
    left: -10%;
}

.bg-glow-2 {
    top: 40%;
    right: -10%;
    background: var(--glow-radial-2);
}

.bg-glow-3 {
    bottom: 10%;
    left: 20%;
    background: var(--glow-radial-3);
}

/* Glassmorphic Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--navbar-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-normal);
}

.header-scrolled {
    padding: 12px 0;
    background: var(--navbar-bg-scrolled);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-normal);
}

.header-scrolled .navbar {
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-blue);
}

.logo .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: var(--border-radius-full);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Lang Toggle Button */
.lang-toggle {
    display: flex;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    padding: 2px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    position: relative;
}

.lang-btn {
    border: none;
    background: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.lang-btn.active {
    background: var(--accent-blue);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

/* Responsive Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: var(--border-radius-full);
    transition: var(--transition-normal);
}

.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);
}

/* Button Classes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #0056c6 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 118, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0084ff 0%, var(--accent-blue) 100%);
    box-shadow: 0 6px 20px rgba(0, 118, 255, 0.45), var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: var(--border-radius-sm);
}

/* Sections */
section {
    position: relative;
    padding: 100px 0;
}

.section-title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 160px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 32px;
}

.hero-vertical .hero-title {
    max-width: 800px;
    margin: 0 auto;
}

.hero-vertical .hero-visual {
    max-width: 900px;
    width: 100%;
    margin: 20px auto;
}

.hero-vertical .hero-desc {
    max-width: 720px;
    margin: 0 auto;
}

.hero-vertical .hero-actions {
    justify-content: center;
    margin-bottom: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 118, 255, 0.1);
    border: 1px solid rgba(0, 118, 255, 0.2);
    padding: 6px 14px;
    border-radius: var(--border-radius-full);
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge span.dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: var(--border-radius-full);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-title {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-bullet svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

/* POS UI Mockup in CSS (Interactive dashboard preview) */
.hero-visual {
    position: relative;
    width: 100%;
}

.pos-mockup {
    background: #0d1323;
    border: 8px solid #202b43;
    border-radius: 20px;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 118, 255, 0.15);
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
    display: flex;
    flex-direction: column;
}

.pos-header {
    height: 36px;
    background: #172033;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

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

.pos-window-dots span {
    width: 8px;
    height: 8px;
    border-radius: var(--border-radius-full);
}

.pos-window-dots span:nth-child(1) {
    background: #ff5f56;
}

.pos-window-dots span:nth-child(2) {
    background: #ffbd2e;
}

.pos-window-dots span:nth-child(3) {
    background: #27c93f;
}

.pos-header-title {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.pos-header-status {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: var(--border-radius-full);
    box-shadow: 0 0 6px var(--accent-green);
}

.pos-body {
    flex: 1;
    display: grid;
    grid-template-columns: 140px 1fr 180px;
    background: #090e1a;
}

/* POS Sidebar */
.pos-sidebar {
    background: #0d1323;
    border-right: 1px solid var(--border-glass);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pos-category {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    padding-left: 8px;
}

.pos-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.pos-menu-item.active {
    background: rgba(0, 118, 255, 0.15);
    color: var(--text-primary);
    border-left: 3px solid var(--accent-blue);
}

.pos-menu-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

/* POS Main Grid */
.pos-content {
    padding: 16px;
    overflow-y: auto;
}

.pos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pos-product-card {
    background: #12192b;
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 90px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pos-product-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.pos-prod-emoji {
    font-size: 20px;
}

.pos-prod-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
}

.pos-prod-price {
    font-size: 10px;
    color: var(--accent-cyan);
    font-weight: 700;
}

/* POS Cart */
.pos-cart {
    background: #0d1323;
    border-left: 1px solid var(--border-glass);
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.pos-cart-title {
    font-size: 12px;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 10px;
}

.pos-cart-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.pos-cart-item {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.pos-cart-item-name {
    font-weight: 500;
}

.pos-cart-item-price {
    color: var(--text-secondary);
}

.pos-cart-total {
    border-top: 1px solid var(--border-glass);
    padding-top: 8px;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 12px;
}

.pos-cart-total span:last-child {
    color: var(--accent-green);
}

.pos-pay-btn {
    margin-top: 12px;
    background: var(--accent-green);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 8px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

/* Decorative glass badge on mockup */
.pos-glass-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.pos-glass-badge-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.pos-glass-badge-text h4 {
    font-size: 11px;
    color: var(--text-primary);
}

.pos-glass-badge-text p {
    font-size: 9px;
    color: var(--text-muted);
}

/* Establishment Formats Grid Section */
.formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.format-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

@media (min-width: 481px) {
    .format-card-double {
        grid-column: span 2;
    }
}

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 118, 255, 0.08) 0%, rgba(0, 0, 0, 0) 80%);
    opacity: 0;
    transition: var(--transition-normal);
}

.format-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow), var(--shadow-md);
    transform: translateY(-5px);
}

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

.format-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.format-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 8px;
}

.format-emoji {
    font-size: 32px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: var(--transition-normal);
}

.format-card:hover .format-emoji {
    transform: scale(1.1) rotate(5deg);
}

.format-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 16px;
    transition: var(--transition-fast);
}

.format-card:hover .format-link {
    color: var(--accent-blue);
}

.format-link svg {
    width: 14px;
    height: 14px;
    transition: var(--transition-fast);
}

.format-card:hover .format-link svg {
    transform: translateX(4px);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    transition: var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-md);
    background: rgba(0, 118, 255, 0.1);
    border: 1px solid rgba(0, 118, 255, 0.15);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--accent-blue);
    color: white;
    box-shadow: var(--shadow-glow);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-list {
    margin-top: 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-list-item svg {
    color: var(--accent-blue);
    flex-shrink: 0;
}

/* Calculator Section */
.calculator-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
}

.calculator-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.calculator-selector-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.counter-control {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 4px;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.counter-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.counter-btn:active {
    transform: scale(0.9);
}

.counter-val {
    width: 60px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
    position: relative;
}

.price-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.price-card.featured {
    border-color: var(--accent-blue);
    background: var(--price-featured-bg);
    box-shadow: 0 10px 30px rgba(0, 118, 255, 0.08);
}

.price-badge {
    position: absolute;
    top: 24px;
    right: 32px;
    background: var(--accent-blue);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--border-radius-full);
}

.price-header {
    margin-bottom: 24px;
}

.price-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex: 1;
}

.price-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.price-feature-item svg {
    color: var(--accent-blue);
    margin-top: 3px;
    flex-shrink: 0;
}

.price-card.featured .price-feature-item svg {
    color: var(--accent-cyan);
}

.price-footer {
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
    margin-top: auto;
}

.price-footer-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    transition: var(--transition-fast);
}

.price-amount span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.price-select-btn {
    width: 100%;
}

/* Modal Dialog Styles */
dialog.contact-modal {
    margin: auto;
    border: 1px solid var(--border-glass);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    overflow: visible;
}

dialog.contact-modal::backdrop {
    background: var(--modal-backdrop);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

/* Form Styles */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input,
.form-select {
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 118, 255, 0.2);
}

/* Custom interactive verification validation rules */
.form-input:user-valid {
    border-color: var(--accent-green);
}

.form-input:placeholder-shown {
    border-color: var(--border-glass);
}

/* Form Submit Feedback Alert state */
.form-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 16px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.success-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Footer Section */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 30px 0;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-desc {
    font-size: 14px;
    max-width: 320px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-blue);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}

/* Animations classes controlled via Javascript scroll observer */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 36px auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-bullets {
        justify-content: center;
    }

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

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .pricing-grid .price-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .hero-title {
        font-size: 40px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition-normal);
        border-top: 1px solid var(--border-glass);
        z-index: 99;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-actions {
        margin-left: auto;
        margin-right: 16px;
    }

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

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

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

    .pricing-grid .price-card:last-child {
        grid-column: span 1;
    }

    .calculator-box {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .formats-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .calculator-selector {
        flex-direction: column;
        align-items: center;
    }
}

/* Theme Toggle Button Styles */
.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: rotate(15deg) scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Show sun icon in light mode, moon in dark mode */
.theme-toggle .sun-icon {
    display: block;
}

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

:root.dark-mode .theme-toggle .sun-icon {
    display: none;
}

:root.dark-mode .theme-toggle .moon-icon {
    display: block;
}

/* Override pos mockup container to remain dark-themed for contrast */
.pos-mockup {
    --bg-primary: #080c16;
    --bg-secondary: #0f1626;
    --bg-tertiary: #172033;
    --bg-card: rgba(25, 34, 56, 0.35);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #627288;
    --border-glass: rgba(255, 255, 255, 0.08);
}