/* TEST - Remove this after confirming CSS loads */
body {
    background: #ffffff !important;
}

/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --text-primary: #111111;
    --text-secondary: #555555;
    --accent: #3b5cff;
    --border: #eaeaea;
    --card-bg: #fafafa;
    --section-padding: 96px;
    --container-width: 1100px;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 18px;
}

h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

h4 {
    font-size: 20px;
    font-weight: 600;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== PREMIUM NAVBAR ===== */
.site-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    position: relative;
    flex-wrap: wrap;
}

/* Mobile Menu Toggle (Checkbox) - Must be first in DOM for CSS siblings */
.menu-toggle {
    display: none;
}

.nav-brand {
    position: relative;
    z-index: 1001;
    order: 1;
}

.nav-brand a {
    font-size: 18px;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-brand a:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

/* Premium Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 24px;
    justify-content: space-around;
    order: 3;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px;
    display: block;
    position: relative;
}

.hamburger:hover span {
    background: var(--accent);
}

/* Mobile Menu Backdrop Overlay */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    pointer-events: none;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    order: 2;
}

.nav-links a {
    position: relative;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--accent);
    background: rgba(59, 92, 255, 0.06);
}

.nav-links a:hover::before {
    transform: scaleX(1);
}

.btn-primary {
    padding: 8px 20px;
    background: var(--text-primary);
    color: white;
    border: 2px solid var(--text-primary);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 92, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 92, 255, 0.2);
}

.btn-logout {
    padding: 8px 18px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-radius: 20px;
    border: 1px solid rgba(153, 27, 27, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}

.btn-logout::before {
    display: none;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
    border-color: transparent;
}

.btn-logout:active {
    transform: translateY(0);
}

.hero-section {
    padding: var(--section-padding) 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f6f8ff 0%, #ffffff 50%, #f0f4ff 100%);
}

/* Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 1;
    filter: blur(0px);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.5) 100%
    );
    z-index: 1;
}

.hero-container {
    max-width: 900px;
    width: 100%;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 48px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: center;
}

.input-cta-form {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.input-cta-form:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
}

.input-cta-form:focus-within {
    box-shadow: 0 8px 30px rgba(59, 92, 255, 0.2);
    border-color: var(--accent);
}

.input-cta {
    flex: 1;
    padding: 18px 28px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: var(--text-primary);
}

.input-cta::placeholder {
    color: var(--text-secondary);
}

.btn-arrow {
    padding: 18px 32px;
    background: var(--text-primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-arrow:hover {
    background: var(--accent);
    transform: scale(1.02);
}

.btn-arrow:active {
    transform: scale(0.98);
}

.mission-section {
    padding: var(--section-padding) 0;
    background: var(--card-bg);
}

.large-text {
    font-size: 32px;
    line-height: 1.5;
    color: var(--text-primary);
    font-weight: 400;
}

/* ===== PRODUCT/FEATURES SECTION ===== */
.product-section {
    padding: var(--section-padding) 0;
    background: white;
}

.section-header.centered {
    text-align: center;
    margin-bottom: 80px;
}

.section-header.centered .section-title {
    color: var(--text-primary);
}

.section-header.centered .section-subtitle {
    color: var(--text-secondary);
}

.product-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
}

.product-block {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.product-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.product-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--accent);
    transition: all 0.4s ease;
}

.product-block:hover .product-icon {
    transform: scale(1.1) rotate(-5deg);
}

.product-icon svg {
    width: 100%;
    height: 100%;
}

.product-block h3 {
    margin-bottom: 16px;
    font-size: 24px;
    color: var(--text-primary);
}

.product-block p {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.link-arrow:hover {
    gap: 12px;
}

.link-arrow.coming-soon {
    color: var(--text-secondary);
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== AI SECTION (Premium) ===== */
.ai-section {
    padding: calc(var(--section-padding) * 1.2) 0;
    background: linear-gradient(180deg, #0a0b0f 0%, #1a1b2e 100%);
    color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 92, 255, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.section-title {
    margin-bottom: 16px;
    font-size: 48px;
}

.section-subtitle {
    font-size: 20px;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.ai-card {
    padding: 48px 36px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.ai-card:hover::before {
    transform: translateX(100%);
}

.ai-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ai-portfolio {
    color: #60a5fa;
}

.ai-design {
    color: #a78bfa;
}

.ai-career {
    color: #34d399;
}

.ai-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-card:hover .ai-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.1);
}

.ai-icon svg {
    width: 100%;
    height: 100%;
    color: currentColor;
}

.ai-card h4 {
    margin-bottom: 16px;
    color: currentColor;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.ai-card p {
    color: #d1d5db;
    margin-bottom: 28px;
    line-height: 1.6;
    font-size: 16px;
}

.btn-try {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid currentColor;
    background: transparent;
    color: currentColor;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.btn-try:hover {
    background: currentColor;
    color: #0a0b0f;
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ===== SHOWCASE SECTION ===== */
.showcase-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.showcase-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-8px);
}

.showcase-card:hover .showcase-image {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.showcase-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eaeaea;
}

.template-preview {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* Minimal Template Preview */
.template-preview.minimal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.template-preview.minimal .preview-header {
    width: 60%;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
}

.template-preview.minimal .preview-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.template-preview.minimal .preview-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
}

.template-preview.minimal .preview-line.short {
    width: 60%;
}

.template-preview.minimal .preview-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.template-preview.minimal .preview-block {
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

/* Modern Template Preview */
.template-preview.modern {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    gap: 8px;
    padding: 12px;
}

.template-preview.modern .preview-sidebar {
    width: 30%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 6px;
}

.template-preview.modern .preview-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.template-preview.modern .preview-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
}

.template-preview.modern .preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    flex: 1;
}

.template-preview.modern .preview-item {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 4px;
}

/* Professional Template Preview */
.template-preview.professional {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 8px;
}

.template-preview.professional .preview-nav {
    height: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
}

.template-preview.professional .preview-hero {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 12px;
}

.template-preview.professional .preview-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    flex-shrink: 0;
}

.template-preview.professional .preview-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.template-preview.professional .preview-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}

.template-preview.professional .preview-line.short {
    width: 60%;
}

.showcase-card h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 20px;
}

.showcase-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

.resources-section {
    padding: var(--section-padding) 0;
}

.resource-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.resource-block h3 {
    margin-bottom: 12px;
}

/* ===== PREMIUM FOOTER ===== */
.site-footer {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 80px 0 0;
    margin-top: var(--section-padding);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 64px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(59, 92, 255, 0.3);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-column a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-column a:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.footer-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    fill: var(--accent);
}

.flash-messages {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 1000;
}

.flash {
    padding: 16px 24px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease;
}

.flash-success {
    border-left: 4px solid #22c55e;
}

.flash-error {
    border-left: 4px solid #ef4444;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== PRICING SECTION ===== */
.pricing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.pricing-card {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--accent);
    position: relative;
    background: linear-gradient(135deg, #f6f8ff 0%, #ffffff 100%);
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 16px;
    font-size: 24px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
}

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

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

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

.btn-pricing {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--text-primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pricing:hover {
    background: var(--accent);
    transform: scale(1.02);
}

.pricing-card.featured .btn-pricing {
    background: var(--accent);
}

.pricing-card.featured .btn-pricing:hover {
    background: var(--text-primary);
}

/* Alternative Button Styles */
.btn-primary {
    padding: 12px 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    background: white;
}

.btn-primary:hover {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary action buttons */
.btn-secondary {
    padding: 12px 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    font-weight: 500;
}

.btn-secondary:hover {
    background: var(--card-bg);
    border-color: var(--text-primary);
}

/* Ghost button variant */
.btn-ghost {
    padding: 12px 28px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* Accent button */
.btn-accent {
    padding: 14px 32px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 92, 255, 0.3);
}

.btn-accent:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 92, 255, 0.4);
}

.btn-accent:active {
    transform: translateY(0);
}

/* Loading state for buttons */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Ripple effect for button */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Shake animation for form validation */
.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
    20%, 40%, 60%, 80% { transform: translateX(8px); }
}

/* Focus glow effect */
.input-cta:focus {
    animation: input-glow 2s ease-in-out infinite;
}

@keyframes input-glow {
    0%, 100% { box-shadow: inset 0 0 0 0 transparent; }
    50% { box-shadow: inset 0 0 8px rgba(59, 92, 255, 0.1); }
}

/* ===== PREMIUM MOBILE MENU ===== */
@media (max-width: 768px) {
    /* Make navbar sticky in mobile */
    .site-header {
        position: sticky;
        top: 0;
        background: transparent;
    }
    
    /* Show hamburger menu */
    .hamburger {
        display: flex;
    }
    
    .navbar {
        padding: 16px 0;
    }
    
    /* Premium Mobile Menu Slide */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        gap: 4px;
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        padding: 60px 24px;
        z-index: 999;
        border-left: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    /* Show menu when checkbox is checked */
    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }
    
    /* Smooth Hamburger to X Animation */
    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background: var(--accent);
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background: var(--accent);
    }
    
    /* Stagger Animation for Menu Items */
    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 16px 20px;
        border-radius: 14px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 17px;
        font-weight: 600;
        opacity: 0;
        transform: translateX(30px);
        animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    }
    
    .menu-toggle:checked ~ .nav-links a {
        opacity: 1;
        transform: translateX(0);
    }
    
    .menu-toggle:checked ~ .nav-links a:nth-child(1) { animation-delay: 0.1s; }
    .menu-toggle:checked ~ .nav-links a:nth-child(2) { animation-delay: 0.15s; }
    .menu-toggle:checked ~ .nav-links a:nth-child(3) { animation-delay: 0.2s; }
    .menu-toggle:checked ~ .nav-links a:nth-child(4) { animation-delay: 0.25s; }
    .menu-toggle:checked ~ .nav-links a:nth-child(5) { animation-delay: 0.3s; }
    .menu-toggle:checked ~ .nav-links a:nth-child(6) { animation-delay: 0.35s; }
    
    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-links a::before {
        display: none;
    }
    
    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(59, 92, 255, 0.1);
        color: var(--accent);
        transform: translateX(8px);
        box-shadow: 0 4px 12px rgba(59, 92, 255, 0.15);
    }
    
    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 16px 26px;
        margin-top: 12px;
        font-size: 16px;
    }
    
    .btn-logout {
        width: 100%;
        text-align: center;
        padding: 16px 26px;
        margin-top: 8px;
        font-size: 16px;
    }
    
    h1 {
        font-size: clamp(32px, 8vw, 40px);
        line-height: 1.2;
    }
    
    h2 {
        font-size: clamp(24px, 6vw, 32px);
    }
    
    .hero-section {
        padding: 48px 0;
        min-height: 100vh;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: clamp(14px, 4vw, 18px);
        margin-bottom: 32px;
        padding: 0 10px;
    }
    
    .input-cta-form {
        flex-direction: column;
        border-radius: 16px;
        max-width: 100%;
        margin: 0 20px;
    }
    
    .input-cta {
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
    }
    
    .btn-arrow {
        padding: 16px;
        font-size: 20px;
        width: 100%;
        border-radius: 0 0 16px 16px;
    }
    
    .large-text {
        font-size: 24px;
    }
    
    .product-blocks {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-block {
        padding: 32px 24px;
    }
    
    .product-icon {
        width: 56px;
        height: 56px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .ai-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .ai-card {
        padding: 36px 28px;
    }
    
    .ai-icon {
        width: 64px;
        height: 64px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .resource-blocks {
        grid-template-columns: 1fr;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .pricing-info {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    /* Show video on mobile with optimized settings */
    .hero-video {
        display: block;
        opacity: 1;
    }
    
    .hero-video-overlay {
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.6) 100%
        );
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-column {
        text-align: center;
    }
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .input-cta-form {
        margin: 0 16px;
    }
    
    .input-cta {
        font-size: 15px;
        padding: 14px 18px;
    }
    
    .btn-arrow {
        font-size: 18px;
        padding: 14px;
    }
}

/* ===== TABLET BREAKPOINT ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }
    
    .nav-links {
        gap: 12px;
    }
    
    .nav-links a {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .btn-primary,
    .btn-logout {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    h1 {
        font-size: 48px;
    }
    
    .large-text {
        font-size: 28px;
    }
}

/* ===== DESKTOP LARGE BREAKPOINT ===== */
@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
    
    h1 {
        font-size: 64px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .large-text {
        font-size: 36px;
    }
}