:root {
    --bg-color: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent-gold: #d4af37;
    --accent-gold-hover: #f1c40f;
    --accent-cyan: #00d2ff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background effects imitating the Canva site */
.background-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
}

.vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

/* Header / Sticky Nav */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container h1 {
    font-family: var(--font-heading);
    font-size: 1.5em;
    font-style: italic;
    color: var(--accent-gold);
    margin: 0;
    white-space: nowrap;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.top-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82em;
    transition: color 0.3s ease;
    white-space: nowrap;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.top-nav a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.btn-nav-purchase {
    color: #000 !important;
    background: linear-gradient(135deg, #d4af37, #b89324);
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: bold !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.btn-nav-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.6) !important;
    text-shadow: none !important;
    color: #000 !important;
}


/* Language Selector */
.lang-selector {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85em;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
}

.lang-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Main Content Padding for Fixed Header */
.content-wrapper {
    padding-top: 80px;
}

/* Base Section Styles */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

section h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 100px 20px 80px;
    animation: fadeInDown 1s ease-out;
}

.hero-section h2 {
    font-family: var(--font-heading);
    font-size: 4em;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.9);
}

.hero-section p {
    font-size: 1.5em;
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 4px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37, #b89324);
    color: #000;
    font-weight: bold;
    font-size: 1.2em;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6);
}

/* Platforms Section */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.platform-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.platform-card h4 {
    color: var(--accent-cyan);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.platforms-note {
    text-align: center;
    color: #888;
    font-size: 0.9em;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
}

.feature-item h4 {
    color: var(--text-primary);
    font-size: 1.1em;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9em;
}

/* Guide Section (Original Tabs) */
.container {
    position: relative;
    z-index: 10;
}

.tabs-wrapper {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    background: var(--glass-bg);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tab-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.95em;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    outline: none;
}

.tab-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.tab-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 20%;
    width: 60%;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-gold);
}

.tab-content-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.tab-content {
    display: none;
    animation: fadeSlideUp 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2em;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.tab-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    z-index: 1;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.instruction-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.instruction-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0,0,0,0.9), 0 0 0 1px rgba(212, 175, 55, 0.3);
}

/* Footer Section */
.footer-section {
    background: rgba(0,0,0,0.6);
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px 20px;
    margin-top: 40px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.footer-block h4 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.footer-link {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.highlight {
    color: #e74c3c;
    font-weight: 600;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    color: #666;
    font-size: 0.85em;
    border-top: 1px solid #222;
    padding-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-section h2 {
        font-size: 3em;
    }
    
    section h3 {
        font-size: 2em;
    }

    .tabs {
        flex-direction: column;
        border-radius: 15px;
        padding: 15px;
        width: 100%;
        gap: 5px;
    }
    
    .tab-link {
        width: 100%;
        text-align: left;
        border-radius: 8px;
    }
    
    .tab-link.active::after {
        left: 0;
        width: 4px;
        height: 60%;
        bottom: 20%;
        border-radius: 0 2px 2px 0;
    }
    
    .tab-content-container {
        padding: 20px;
    }
    
    .tab-content h2 {
        font-size: 1.8em;
    }
}

/* =====================
   SUBPAGE STYLES
   ===================== */

.subpage-content {
    min-height: calc(100vh - 80px);
}

.subpage-hero {
    text-align: center;
    padding: 80px 20px 40px;
    animation: fadeInDown 0.8s ease-out;
}

.subpage-hero h2 {
    font-family: var(--font-heading);
    font-size: 3.5em;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-style: italic;
}

.subpage-hero p {
    color: var(--text-secondary);
    font-size: 1.2em;
}

.subpage-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

/* Active nav link */
.nav-active {
    color: var(--accent-gold) !important;
}

/* Logo link style */
.logo-container a {
    text-decoration: none;
}

/* ------- Downloads page ------- */
.download-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.download-info h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.4em;
    margin-bottom: 12px;
}

.download-link {
    color: var(--accent-cyan);
    font-size: 1.1em;
    text-decoration: none;
    transition: color 0.3s;
}

.download-link:hover {
    color: #fff;
    text-decoration: underline;
}

.password-box {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.password-text {
    font-size: 2em;
    font-weight: bold;
    color: var(--text-primary);
    letter-spacing: 4px;
    background: rgba(255,255,255,0.05);
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.copy-btn {
    background: rgba(212,175,55,0.15);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: var(--accent-gold);
    color: #000;
}

.install-guide-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 1.05em;
    transition: color 0.3s;
}

.install-guide-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ------- Contact page ------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 35px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.6em;
    margin-bottom: 5px;
}

.btn-contact {
    display: inline-block;
    background: linear-gradient(135deg, #1877f2, #0d5fbb);
    color: #fff;
    font-weight: bold;
    font-size: 1em;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    margin-top: 10px;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.6);
}

.payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-tag {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--accent-cyan);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.payment-note {
    color: #e74c3c;
    font-size: 0.9em;
    font-weight: 600;
}

/* ------- Payment page ------- */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.payment-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.payment-card:hover {
    transform: translateY(-5px);
}

.payment-card h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 2em;
    margin-bottom: 15px;
}

.payment-card p {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.payment-cta {
    text-align: center;
    padding: 30px;
    background: rgba(231, 76, 60, 0.05);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 15px;
}

.payment-note-big {
    color: #e74c3c;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}