/* ==================== ROOT VARIABLES ==================== */
:root {
    /* Colors */
    --bg-primary: #f5f5f7;
    --bg-gradient: linear-gradient(135deg, #6B46C1 0%, #D946A6 50%, #9B59D0 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --purple-primary: #8B5CF6;
    --purple-hover: #7C3AED;
    --purple-light: #C4B5FD;
    --pink-accent: #EC4899;
    --green-status: #10B981;
    --red-status: #EF4444;
    
    /* UI Elements */
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Fonts */
    --font-primary: 'Noto Sans', sans-serif;
    --font-headline: 'Zain', sans-serif;
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* Universal Background for all pages */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.4;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    font-weight: 800;
}

a {
    color: var(--purple-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--pink-accent);
}

/* ==================== NAVIGATION BAR ==================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--card-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Aclonica', sans-serif;
    font-size: 28px;
    font-weight: 400;
    cursor: pointer;
}

.nav-logo img {
    width: 40px;
    height: 40px;
}

.nav-logo-text {
    color: var(--purple-primary);
    line-height: 1;
    display: inline-block;
    transform: translateY(4px);
}

.nav-logo-ai {
    color: #FFC0CB;
    text-shadow: 
        -2px -2px 0 #4C1D95,
        2px -2px 0 #4C1D95,
        -2px 2px 0 #4C1D95,
        2px 2px 0 #4C1D95,
        0 4px 20px rgba(236, 72, 153, 0.5);
    line-height: 1;
    display: inline-block;
    transform: translateY(4px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    padding: 8px 16px 12px;
    text-decoration: none;
}

/* All nav links get a bar at the bottom */
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.15);
    transition: var(--transition);
}

/* Hover state shows gradient bar */
.nav-links a:hover::after,
.nav-links a:focus::after {
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-accent));
}

.nav-links a:hover {
    color: var(--purple-primary);
    text-decoration: none;
}

/* Active link has gradient bar and purple text */
.nav-links a.active {
    color: var(--purple-primary);
}

.nav-links a.active::after {
    background: linear-gradient(90deg, var(--purple-primary), var(--pink-accent));
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    margin-left: -16px;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    width: 24px;
    height: 24px;
}

.dropdown-toggle img {
    width: 100%;
    height: 100%;
    filter: brightness(0) saturate(100%) invert(9%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(94%) contrast(90%);
    transition: var(--transition);
}

.dropdown-toggle:hover img {
    filter: brightness(0) saturate(100%) invert(43%) sepia(98%) saturate(1943%) hue-rotate(236deg) brightness(98%) contrast(92%);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--card-shadow);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-primary);
    color: var(--purple-primary);
}

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-menu {
    display: none;
    align-items: center;
    gap: 12px;
}

.user-menu.active {
    display: flex;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--purple-primary);
}

/* ==================== HERO SECTION ==================== */
.hero {
    max-width: 1400px;
    margin: 0 auto 80px auto;
    padding: 100px 32px 0 32px;
    text-align: center;
}

.hero-card {
    margin-top: 40px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.hero-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.hero-text {
    padding: 24px 56px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    background: rgba(255, 255, 255, 0.95);
}

.hero-visual {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 32px;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    padding-right: 32px;
}

.hero-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-video-overlay-top,
.hero-video-overlay-bottom,
.hero-video-overlay-left,
.hero-video-overlay-right {
    position: absolute;
    pointer-events: none;
    z-index: 3;
}

.hero-video-overlay-top {
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.5) 30%,
        rgba(255, 255, 255, 0.2) 60%,
        transparent 100%);
}

.hero-video-overlay-bottom {
    bottom: -1px;
    left: 0;
    right: 0;
    height: 31px;
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.5) 30%,
        rgba(255, 255, 255, 0.2) 60%,
        transparent 100%);
}

.hero-video-overlay-left {
    top: 0;
    left: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.5) 30%,
        rgba(255, 255, 255, 0.2) 60%,
        transparent 100%);
}

.hero-video-overlay-right {
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to left, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.5) 30%,
        rgba(255, 255, 255, 0.2) 60%,
        transparent 100%);
}

/* ==================== VIDEO CONTROLS ==================== */
.hero-video-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hero-video-container:hover .hero-video-controls {
    opacity: 1;
    pointer-events: auto;
}

.video-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--purple-primary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.video-control-btn:active {
    transform: translateY(0) scale(1);
}

.video-control-icon {
    width: 20px;
    height: 20px;
    color: var(--purple-primary);
    transition: var(--transition);
}

.video-control-btn:hover .video-control-icon {
    color: var(--pink-accent);
}

.video-play-icon,
.video-pause-icon,
.video-volume-icon,
.video-muted-icon {
    display: none;
}

.video-play-icon.active,
.video-pause-icon.active,
.video-volume-icon.active,
.video-muted-icon.active {
    display: block;
}

.hero-logo {
    position: relative;
    z-index: 1;
    text-align: left;
    margin-bottom: 1px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.goetia-logo,
h1.goetia-logo,
.hero-logo .goetia-logo,
.hero-logo h1.goetia-logo {
    position: relative;
    z-index: 1;
    text-align: left;
    margin-bottom: 0px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    font-size: 80pt !important;
    color: #000000 !important;
    font-weight: 400 !important;
    text-shadow: 2px 0 0 #fff,
                 -2px 0 0 #fff,
                 0 2px 0 #fff,
                 0 -2px 0 #fff,
                 1.4px 1.4px 0 #fff,
                 -1.4px 1.4px 0 #fff,
                 1.4px -1.4px 0 #fff,
                 -1.4px -1.4px 0 #fff;
}

.logo-ai {
    color: #FFC0CB;
    text-shadow: 
        -2px -2px 0 #4C1D95,
        2px -2px 0 #4C1D95,
        -2px 2px 0 #4C1D95,
        2px 2px 0 #4C1D95,
        0 4px 20px rgba(236, 72, 153, 0.5);
}

.aclonica-regular {
    font-family: 'Aclonica', sans-serif;
    font-weight: 400;
    font-style: normal;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--purple-primary);
    text-shadow: 
        -2px -2px 0 #ffffff,
        2px -2px 0 #ffffff,
        -2px 2px 0 #ffffff,
        2px 2px 0 #ffffff,
        0 4px 20px rgba(46, 29, 78, 0.5);
}

.hero h1:not(.goetia-logo) {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--purple-primary);
    text-shadow: 
        -2px -2px 0 #ffffff,
        2px -2px 0 #ffffff,
        -2px 2px 0 #ffffff,
        2px 2px 0 #ffffff,
        0 4px 20px rgba(46, 29, 78, 0.5);
}

.hero h2,
.hero-content h2 {
    font-size: 36px;
    color: var(--purple-primary);
    text-shadow: 
        -2px -2px 0 #ffffff,
        2px -2px 0 #ffffff,
        -2px 2px 0 #ffffff,
        2px 2px 0 #ffffff,
        0 4px 20px rgba(36, 19, 63, 0.5);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-content .hero-cta {
    justify-content: center;
}

.btn {
    padding: 8px 22px;
    border-radius: 8px;
    font-family: 'Zain', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%);
    color: white;
    border: none;
}

a.btn-primary {
    color: white;
    text-decoration: none;
}

a.btn-primary:hover {
    color: white;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

a.btn-secondary {
    color: var(--text-primary);
    text-decoration: none;
}

a.btn-secondary:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--purple-primary);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* ==================== CONTENT CARDS ==================== */
.content-card {
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(124, 58, 237, 0.25);
    border-radius: 14px;
    padding: 32px;
}

/* ==================== SECTIONS ==================== */
.section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--pink-accent);
    text-shadow: 
        -2px -2px 0 #ffffff,
        2px -2px 0 #ffffff,
        -2px 2px 0 #ffffff,
        2px 2px 0 #ffffff,
        0 4px 20px rgba(127, 43, 134, 0.5);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== FEATURE CARDS ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: var(--purple-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.feature-icon img,
.feature-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    font-size: 24px;
    margin: 0;
    color: var(--purple-primary);
    flex: 1;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== SCREENSHOTS SHOWCASE ==================== */
.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.screenshot-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.screenshot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slideshow-image {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-image:first-child {
    position: relative;
}

.slideshow-image.active {
    opacity: 1;
    z-index: 2;
}

.screenshot-caption {
    padding: 16px;
    text-align: center;
    font-weight: 600;
    color: var(--purple-primary);
}

/* ==================== NEWS/BLOG ==================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.news-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: var(--purple-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--purple-primary);
}

.news-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more {
    color: var(--purple-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.read-more:hover {
    gap: 8px;
}

/* ==================== PRICING ==================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 2px solid rgba(124, 58, 237, 0.25);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2);
    border-color: var(--purple-primary);
}

.pricing-card-featured {
    border-color: var(--purple-primary);
    border-width: 3px;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--pink-accent) 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(124, 58, 237, 0.1);
}

.pricing-header h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--purple-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price-annual {
    margin-top: 8px;
    text-align: center;
}

.price-annual-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-headline);
}

.price-period {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    min-height: 48px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    position: relative;
    padding-left: 28px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--purple-primary);
    font-weight: 700;
    font-size: 18px;
}

.pricing-features li.feature-limited::before {
    content: '⚠';
    color: var(--pink-accent);
}

.pricing-features li.feature-disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

.pricing-features li.feature-disabled::before {
    content: '✗';
    color: var(--text-muted);
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    font-style: italic;
}

/* ==================== FOOTER ==================== */
.footer {
    background: rgba(20, 20, 20, 0.95);
    color: white;
    margin-top: 120px;
    padding: 60px 32px 24px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 32px;
    margin-bottom: 16px;
    font-family: 'Aclonica', sans-serif;
    font-weight: 400;
}

.footer-brand .brand-goetia {
    color: var(--purple-primary);
}

.footer-brand .brand-ai {
    color: #FFC0CB;
    text-shadow: 
        -2px -2px 0 #4C1D95,
        2px -2px 0 #4C1D95,
        -2px 2px 0 #4C1D95,
        2px 2px 0 #4C1D95,
        0 4px 20px rgba(236, 72, 153, 0.5);
    margin-left: 4px;
}

.footer-brand p {
    color: #b4b4b4;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 8px;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(85%) sepia(12%) saturate(1234%) hue-rotate(211deg) brightness(103%) contrast(101%);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--purple-primary);
    transform: translateY(-4px);
}

.social-icon:hover img {
    filter: brightness(0) invert(1);
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--purple-light);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #b4b4b4;
    font-weight: 400;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: #808080;
    font-size: 14px;
}

/* ==================== LOGIN MODAL ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--bg-primary);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close img {
    width: 100%;
    height: 100%;
    filter: brightness(0) saturate(100%) invert(47%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(87%);
    transition: var(--transition);
}

.modal-close:hover img {
    filter: brightness(0) saturate(100%) invert(43%) sepia(98%) saturate(1943%) hue-rotate(236deg) brightness(98%) contrast(92%);
}

.modal-title {
    font-size: 32px;
    margin-bottom: 8px;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.modal-body {
    padding: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--bg-primary);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--purple-primary);
}

/* Password input wrapper with toggle button */
.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    padding-right: 45px; /* Make room for the toggle button */
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    z-index: 1;
}

.password-toggle:hover {
    color: var(--purple-primary);
}

.password-toggle:focus {
    outline: none;
    color: var(--purple-primary);
}

.password-toggle .eye-icon {
    width: 20px;
    height: 20px;
    display: block;
}

/* Default: show icon visible (when password is hidden), hide icon hidden */
.password-toggle .eye-show {
    display: block;
}

.password-toggle .eye-hide {
    display: none;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-full {
    width: 100%;
}

.modal-divider {
    text-align: center;
    margin: 24px 0;
    color: var(--text-muted);
    position: relative;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--bg-primary);
}

.modal-divider::before {
    left: 0;
}

.modal-divider::after {
    right: 0;
}

.modal-footer {
    padding: 0 32px 32px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.modal-footer a {
    color: var(--purple-primary);
    font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-card-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-text {
        padding: 48px 40px;
        text-align: center;
    }
    
    .hero-visual {
        min-height: 400px;
        order: -1;
    }
    
    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 60px 24px 0 24px;
        margin-bottom: 80px;
    }
    
    .hero-card {
        margin-top: 32px;
    }
    
    .hero-card-content {
        min-height: auto;
    }
    
    .hero-text {
        padding: 40px 32px;
    }
    
    .hero-visual {
        min-height: 300px;
    }
    
    .goetia-logo,
    h1.goetia-logo,
    .hero-logo .goetia-logo,
    .hero-logo h1.goetia-logo {
        font-size: 60pt !important;
    }
    
    .hero-text h1,
    .hero h1:not(.goetia-logo) {
        font-size: 40px;
    }
    
    .hero h2,
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .screenshots,
    .news-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-featured {
        order: -1;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 40px;
}

.mt-4 {
    margin-top: 40px;
}

.hidden {
    display: none !important;
}

/* ==================== THEMED SCROLLBAR ==================== */
/* Webkit browsers (Chrome, Safari, Edge) */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 18px;
    height: 18px;
}

::-webkit-scrollbar {
    width: 18px;
    height: 18px;
}

/* Hide default scrollbar buttons */
::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
    display: none;
}

::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.08) !important;
    border-radius: 15px !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.08) !important;
    border-radius: 15px !important;
}

::-webkit-scrollbar-thumb {
    background: var(--purple-primary) !important;
    border-radius: 15px !important;
    border: 3px solid rgba(255, 255, 255, 0.1) !important;
    transition: var(--transition) !important;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--purple-hover) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4) !important;
}

::-webkit-scrollbar-thumb:active {
    background: #7C3AED !important;
}

::-webkit-scrollbar-corner {
    background: rgba(139, 92, 246, 0.08) !important;
}

/* Firefox */
html,
body {
    scrollbar-width: auto;
    scrollbar-color: var(--purple-primary) rgba(139, 92, 246, 0.08);
}

* {
    scrollbar-width: auto;
    scrollbar-color: var(--purple-primary) rgba(139, 92, 246, 0.08);
}

/* Apply scrollbar styles to scrollable containers */
.help-card,
.modal,
.onboarding-pages-container,
.socials-modal-body,
.console-viewer {
    scrollbar-width: auto;
    scrollbar-color: var(--purple-primary) rgba(139, 92, 246, 0.08);
}

.help-card::-webkit-scrollbar,
.modal::-webkit-scrollbar,
.onboarding-pages-container::-webkit-scrollbar,
.socials-modal-body::-webkit-scrollbar,
.console-viewer::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

/* Hide scrollbar buttons in containers */
.help-card::-webkit-scrollbar-button,
.modal::-webkit-scrollbar-button,
.onboarding-pages-container::-webkit-scrollbar-button,
.socials-modal-body::-webkit-scrollbar-button,
.console-viewer::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.help-card::-webkit-scrollbar-track,
.modal::-webkit-scrollbar-track,
.onboarding-pages-container::-webkit-scrollbar-track,
.socials-modal-body::-webkit-scrollbar-track,
.console-viewer::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.05) !important;
    border-radius: 12px !important;
}

.help-card::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb,
.onboarding-pages-container::-webkit-scrollbar-thumb,
.socials-modal-body::-webkit-scrollbar-thumb,
.console-viewer::-webkit-scrollbar-thumb {
    background: var(--purple-primary);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.help-card::-webkit-scrollbar-thumb:hover,
.modal::-webkit-scrollbar-thumb:hover,
.onboarding-pages-container::-webkit-scrollbar-thumb:hover,
.socials-modal-body::-webkit-scrollbar-thumb:hover,
.console-viewer::-webkit-scrollbar-thumb:hover {
    background: var(--purple-hover);
}

