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

/* --- Root Variables --- */
:root {
    --primary: #00ff88;
    --primary-glow: rgba(0, 255, 136, 0.35);
    --primary-dim: rgba(0, 255, 136, 0.08);
    --dark: #080b0e;
    --dark-surface: #0f1318;
    --dark-card: #131820;
    --border: #1e262f;
    --border-bright: #2d3a46;
    --text: #eef2f6;
    --text-muted: #6b7f93;
    --text-sub: #3d4f61;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --cyan: #60efff;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--dark);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    cursor: none;
}

/* --- Custom Cursor --- */


/* NAYA CODE */
.cursor-dot {
    position: fixed; width: 8px; height: 8px;
    background: var(--primary); border-radius: 50%;
    pointer-events: none !important;  /* !important lagao */
    z-index: 9997;  /* z-index kam karo - file input ke neeche rakho */
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
    user-select: none;
    mix-blend-mode: exclusion;
}

.cursor-ring {
    pointer-events: none !important;  /* !important lagao */
    user-select: none;
    position: fixed; width: 36px; height: 36px;
    border: 1.5px solid rgba(0,255,136,0.5); border-radius: 50%;
    z-index: 9996;  /* z-index kam karo */
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease, width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-ring.hovered { width: 60px; height: 60px; border-color: var(--primary); }

/* --- Noise Texture Overlay --- */
body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0; opacity: 0.4;
}

/* --- Grid Lines Background --- */
body::after {
    content: '';
    position: fixed; inset: 0;
    background-image: 
        linear-gradient(rgba(0,255,136,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,136,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none; z-index: 0;
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(8, 11, 14, 0.75);
    backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    padding: 0;
    animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-container {
    width: 88%; max-width: 1320px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    height: 68px;
}

.logo {
    display: flex; align-items: center; gap: 12px;
    font-family: 'Syne', sans-serif;
    font-weight: 800; font-size: 1.3rem; letter-spacing: -0.5px;
    text-decoration: none; color: var(--text);
}

.logo-icon {
    background: var(--primary); color: #000;
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 800; letter-spacing: 0;
    box-shadow: 0 0 20px var(--primary-glow);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 35px rgba(0,255,136,0.6); }
}

.nav-links { display: flex; gap: 8px; align-items: center; }

.nav-links a {
    text-decoration: none; color: var(--text-muted); font-weight: 500;
    font-size: 0.9rem; padding: 8px 16px; border-radius: 8px;
    transition: color 0.2s, background 0.2s; position: relative;
}

.nav-links a::after {
    content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
    height: 1px; background: var(--primary); transition: 0.3s;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a:hover::after { left: 16px; right: 16px; }

.btn-login {
    background: var(--primary); color: #000; border: none;
    padding: 9px 22px; border-radius: 10px; font-weight: 700;
    font-size: 0.88rem; cursor: none; letter-spacing: 0.2px;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; text-align: center; overflow: hidden;
    padding: 120px 20px 60px;
}

/* Animated gradient orbs */
.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(80px);
    pointer-events: none; animation: orbFloat 8s ease-in-out infinite;
    z-index: -1; 
}

.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,255,136,0.15) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    animation-duration: 10s;
}

.orb-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(96,239,255,0.1) 0%, transparent 70%);
    top: 20%; right: 15%;
    animation-duration: 7s; animation-delay: -3s;
}

.orb-3 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
    bottom: 20%; left: 15%;
    animation-duration: 9s; animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.2);
    color: var(--primary); padding: 6px 16px; border-radius: 100px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.badge-dot {
    width: 6px; height: 6px; background: var(--primary);
    border-radius: 50%; animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-content h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    line-height: 1.0; margin-bottom: 24px; font-weight: 800;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.gradient-text {
    background: linear-gradient(135deg, #00ff88 0%, #60efff 50%, #00ff88 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s linear infinite;
}

@keyframes textShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-content > p {
    color: var(--text-muted); font-size: 1.1rem;
    margin-bottom: 50px; line-height: 1.7; font-weight: 300;
    max-width: 520px; margin-left: auto; margin-right: auto;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* --- Upload Area --- */
.upload-wrapper {
    width: 100%; max-width: 560px; margin: 0 auto;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    z-index: 10;
    position: relative;
}

.upload-area {
    background: var(--dark-surface);
    border: 1.5px dashed var(--border-bright);
    border-radius: 28px; padding: 60px 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: none; position: relative; overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(0,255,136,0.06), transparent 60%);
    opacity: 0; transition: opacity 0.4s;
}

.upload-area:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,255,136,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}

.upload-area:hover::before { opacity: 1; }

.upload-area.drag-active {
    border-color: var(--primary);
    background: rgba(0,255,136,0.05);
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 0 60px var(--primary-glow);
}

.icon-circle {
    width: 72px; height: 72px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0,255,136,0.2);
    color: var(--primary); border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px; font-size: 1.6rem;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: iconBob 3s ease-in-out infinite;
}

@keyframes iconBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.upload-area:hover .icon-circle {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px var(--primary-glow);
}

.upload-placeholder h3 {
    font-family: 'Syne', sans-serif; font-size: 1.25rem;
    margin-bottom: 8px; font-weight: 700;
}

.upload-placeholder p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

.upload-formats {
    display: flex; gap: 8px; justify-content: center; margin-top: 20px;
}

.fmt-tag {
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    color: var(--text-sub); padding: 4px 10px; border-radius: 6px;
    font-size: 0.72rem; letter-spacing: 0.5px; font-weight: 500;
}

/* NAYA CODE - YEH LAGAO */
.btn-primary {
    display: inline-block; background: var(--primary); color: #000;
    padding: 13px 36px; border-radius: 12px; font-weight: 700;
    font-size: 0.95rem; cursor: pointer;  /* ← cursor: pointer karo */
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--primary-glow);
}

/* --- Stats Bar --- */
.stats-bar {
    display: flex; align-items: center; justify-content: center;
    gap: 40px; margin-top: 60px;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

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

.stat-num {
    display: block;
    font-family: 'Syne', sans-serif; font-size: 1.6rem;
    font-weight: 800; color: var(--primary); line-height: 1;
}

.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* --- Editor Section --- */
.editor-section {
    padding: 24px; min-height: 100vh;
    margin-top: 100px;
    background: var(--dark); position: relative;
}

.editor-container {
    max-width: 1400px; margin: 0 auto; height: calc(100vh - 100px);
    display: grid; grid-template-columns: 300px 1fr; gap: 20px;
}

/* Editor Sidebar */
.editor-sidebar {
    background: var(--dark-surface);
    border: 1px solid var(--border);
    border-radius: 24px; padding: 28px;
    display: flex; flex-direction: column; gap: 32px;
    animation: slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideInLeft {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.sidebar-section-title {
    font-size: 0.7rem; letter-spacing: 2.5px;
    color: var(--text-sub); font-weight: 600;
    text-transform: uppercase; margin-bottom: 16px;
}

.color-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

.color-btn {
    aspect-ratio: 1; border-radius: 12px;
    border: 2px solid transparent; cursor: none;
    transition: all 0.2s; position: relative;
    overflow: hidden;
}

.color-btn::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,0.1); opacity: 0; transition: 0.2s;
}

.color-btn:hover::after { opacity: 1; }
.color-btn:hover { transform: scale(1.08); }

.color-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,255,136,0.15), 0 0 20px var(--primary-glow);
    transform: scale(1.08);
}

.transparent {
    background: repeating-conic-gradient(#1e262f 0% 25%, #131820 0% 50%) 0 0 / 12px 12px;
}
.white { background: #ffffff; }
.black { background: #000000; }
.blue { background: linear-gradient(135deg, #2575fc, #6a11cb); }
.pink { background: linear-gradient(135deg, #e91e63, #ff6b6b); }
.green { background: linear-gradient(135deg, #11998e, #38ef7d); }
.yellow { background: linear-gradient(135deg, #f7971e, #ffd200); }

.custom {
    background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red);
    position: relative; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: rgba(255,255,255,0.8);
}

.custom input {
    position: absolute; opacity: 0;
    width: 100%; height: 100%; cursor: none;
}

.tool-btn {
    width: 100%; background: rgba(255,255,255,0.04);
    border: 1px solid var(--border); color: var(--text-muted);
    padding: 12px 16px; border-radius: 12px; font-weight: 500;
    font-size: 0.88rem; cursor: none; text-align: left;
    display: flex; align-items: center; gap: 10px;
    transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}

.tool-btn:hover {
    background: rgba(255,80,80,0.08); border-color: rgba(255,80,80,0.3);
    color: #ff6b6b;
}

.btn-download {
    width: 100%; background: var(--primary); color: #000; border: none;
    padding: 16px; border-radius: 16px; font-weight: 800; font-size: 1rem;
    cursor: none; display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.3s; font-family: 'DM Sans', sans-serif;
    position: relative; overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%); transition: transform 0.5s;
}

.btn-download:hover::before { transform: translateX(100%); }
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 16px 40px var(--primary-glow); }

/* Workspace */
.workspace {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 24px; display: flex;
    flex-direction: column; overflow: hidden;
    animation: fadeIn 0.5s ease 0.1s both;
}

.workspace-header {
    padding: 16px 24px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
}

.tabs { display: flex; background: rgba(0,0,0,0.3); border-radius: 10px; padding: 4px; gap: 4px; }

.tab-btn {
    background: none; border: none; color: var(--text-muted);
    padding: 8px 18px; border-radius: 8px; font-weight: 600;
    font-size: 0.85rem; cursor: none; transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.tab-btn.active {
    background: var(--dark-surface); color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.workspace-meta {
    font-size: 0.75rem; color: var(--text-sub);
    display: flex; align-items: center; gap: 6px;
}

.meta-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: badgePulse 2s infinite; }

.preview-box {
    flex: 1; position: relative;
    display: flex; align-items: center; justify-content: center; padding: 40px;
    background-image: radial-gradient(rgba(0,255,136,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

canvas {
    max-width: 100%; max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
    animation: canvasReveal 0.5s ease both;
}

@keyframes canvasReveal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Loader --- */
.loader-overlay {
    position: absolute; inset: 0;
    background: rgba(8, 11, 14, 0.92);
    backdrop-filter: blur(8px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; z-index: 100;
    border-radius: 24px; gap: 20px;
}

.loader-ring {
    width: 56px; height: 56px; position: relative;
}

.loader-ring::before, .loader-ring::after {
    content: ''; position: absolute; border-radius: 50%;
    border: 3px solid transparent;
}

.loader-ring::before {
    inset: 0; border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

.loader-ring::after {
    inset: 6px; border-top-color: rgba(96,239,255,0.5);
    animation: spin 0.8s linear infinite reverse;
}

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

.loader-text {
    font-size: 0.88rem; color: var(--text-muted); font-weight: 500;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.loader-bar {
    width: 180px; height: 2px;
    background: var(--border); border-radius: 100px; overflow: hidden;
}

.loader-fill {
    height: 100%; width: 30%; background: linear-gradient(90deg, var(--primary), var(--cyan));
    border-radius: 100px; animation: loaderSlide 1.5s ease-in-out infinite;
}

@keyframes loaderSlide {
    0% { transform: translateX(-100%); width: 30%; }
    50% { width: 70%; }
    100% { transform: translateX(400%); width: 30%; }
}

/* --- Features Section --- */
.features { padding: 120px 8%; position: relative; z-index: 1; }

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

.section-label {
    display: inline-block; font-size: 0.72rem; letter-spacing: 3px;
    color: var(--primary); text-transform: uppercase; font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800; letter-spacing: -1px;
    margin-bottom: 16px;
}

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

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feature-card {
    background: var(--dark-surface);
    border: 1px solid var(--border);
    border-radius: 24px; padding: 44px 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,255,136,0.3), transparent);
    opacity: 0; transition: opacity 0.4s;
}

.feature-card:hover {
    border-color: rgba(0,255,136,0.2);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

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

.feature-card.active {
    border-color: rgba(0,255,136,0.25);
    background: linear-gradient(135deg, rgba(0,255,136,0.04), var(--dark-surface));
}

.feature-card.active::before { opacity: 1; }

.f-icon-wrap {
    width: 52px; height: 52px;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.15);
    border-radius: 14px; display: flex;
    align-items: center; justify-content: center;
    color: var(--primary); font-size: 1.3rem;
    margin-bottom: 24px; transition: all 0.3s;
}

.feature-card:hover .f-icon-wrap {
    background: rgba(0,255,136,0.15);
    box-shadow: 0 8px 24px var(--primary-glow);
    transform: scale(1.1);
}

.feature-card h3 {
    font-family: 'Syne', sans-serif; font-size: 1.1rem;
    font-weight: 700; margin-bottom: 12px;
}

.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* --- How It Works --- */
.how-it-works {
    padding: 120px 8%;
    background: linear-gradient(180deg, var(--dark) 0%, #080b0e 100%);
    position: relative; overflow: hidden;
}

.steps-container {
    display: flex; align-items: flex-start;
    gap: 0; margin-top: 60px; position: relative;
}

.steps-connector {
    position: absolute; top: 40px; left: 16.6%;
    right: 16.6%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}

.steps-connector::after {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 30%; height: 100%;
    background: linear-gradient(90deg, var(--primary), transparent);
    animation: connectorFlow 3s ease-in-out infinite;
}

@keyframes connectorFlow {
    0% { left: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 70%; opacity: 0; }
}

.step {
    flex: 1; text-align: center; padding: 0 20px;
    position: relative;
}

.step-num-wrap {
    width: 80px; height: 80px; margin: 0 auto 28px;
    border: 1px solid var(--border); border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    background: var(--dark-surface); position: relative;
    transition: all 0.4s;
}

.step:hover .step-num-wrap {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-4px);
}

.step-num {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem; font-weight: 800;
    color: var(--text-sub); transition: color 0.3s;
}

.step:hover .step-num { color: var(--primary); }

.step h4 {
    font-family: 'Syne', sans-serif; font-size: 1rem;
    font-weight: 700; margin-bottom: 10px;
}

.step p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }

/* --- Professional Footer Styles --- */
.footer {
    padding: 80px 8% 30px;
    background: var(--dark-surface);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

/* Brand Section */
.nts-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-nts {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.nts-name {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 450px;
}

/* Titles & Lists */
.footer-title {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

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

.footer-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Social Grid */
.socials-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon-link:hover {
    background: var(--primary-dim);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.15);
}

/* Bottom Bar */
.footer-bottom-bar {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-sub);
    font-size: 0.85rem;
}

.highlight-text {
    color: var(--primary);
    font-weight: 700;
}

.nts-official-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nts-official-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive Fix */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .nts-branding, .socials-grid {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 15px;
    }
}
/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* YEH NAYA ADD KARO style.css ke end mein */
#imageUpload {
    position: relative;
    z-index: 9999 !important;  /* cursor se upar rakho */
    pointer-events: all !important;
}

.upload-area label,
.upload-area .btn-primary {
    position: relative;
    z-index: 9999 !important;
    pointer-events: all !important;
    cursor: pointer !important;
}
/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,255,136,0.4); }

/* ============================================
   MOBILE RESPONSIVE CSS
   Yeh sab apne style.css ke BILKUL END mein
   paste kar do — kuch bhi change mat karna.
   ============================================ */

/* --- Tablet: 992px se neeche --- */
@media (max-width: 992px) {

    /* Navbar */
    .nav-links a { display: none; }
    .nav-links .btn-login { display: block; }
    .nav-container { padding: 0 16px; }

    /* Hero */
    .hero { padding: 100px 20px 50px; }
    .hero-content h1 { font-size: 2.8rem; letter-spacing: -1.5px; }
    .stats-bar { gap: 24px; flex-wrap: wrap; }

    /* Editor */
    .editor-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        height: auto;
    }

    .editor-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        align-items: flex-start;
    }

    .editor-sidebar > div { flex: 1; min-width: 200px; }
    .btn-download { width: auto; padding: 14px 28px; }

    /* Features */
    .feature-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Steps */
    .steps-container { flex-direction: column; align-items: center; gap: 32px; }
    .steps-connector { display: none; }
    .step { width: 100%; max-width: 400px; padding: 0; }
}

/* --- Mobile: 768px se neeche --- */
@media (max-width: 768px) {

    /* Navbar */
    .nav-container { height: 60px; }
    .logo span { font-size: 1rem; }
    .logo-icon { width: 30px; height: 30px; font-size: 0.7rem; }
    .btn-login { padding: 7px 14px; font-size: 0.78rem; }

    /* Hero */
    .hero { padding: 90px 16px 40px; min-height: auto; }
    .hero-content h1 { font-size: 2.2rem; letter-spacing: -1px; line-height: 1.1; }
    .hero-content > p { font-size: 0.95rem; margin-bottom: 32px; }

    /* Hero Orbs - chote karo mobile pe */
    .orb-1 { width: 280px; height: 280px; }
    .orb-2 { width: 180px; height: 180px; right: -40px; }
    .orb-3 { width: 150px; height: 150px; left: -30px; }

    /* Upload Area */
    .upload-area { padding: 36px 20px; border-radius: 20px; }
    .icon-circle { width: 56px; height: 56px; font-size: 1.2rem; }
    .upload-placeholder h3 { font-size: 1rem; }
    .upload-placeholder p { font-size: 0.82rem; }
    .btn-primary { padding: 11px 28px; font-size: 0.88rem; }

    /* Stats Bar */
    .stats-bar { gap: 16px; margin-top: 36px; }
    .stat-num { font-size: 1.3rem; }
    .stat-label { font-size: 0.7rem; }
    .stat-divider { height: 28px; }

    /* Editor Section */
    .editor-section { padding: 16px; margin-top: 70px; }

    .editor-container {
        height: auto;
        gap: 14px;
    }

    .editor-sidebar {
        flex-direction: column;
        padding: 20px;
        border-radius: 18px;
        gap: 20px;
    }

    .editor-sidebar > div { min-width: unset; width: 100%; }

    .color-grid { grid-template-columns: repeat(8, 1fr); gap: 8px; }
    .color-btn { border-radius: 8px; }

    .tool-btn { font-size: 0.82rem; padding: 10px 14px; }
    .btn-download { width: 100%; padding: 14px; font-size: 0.92rem; border-radius: 14px; }

    .workspace { border-radius: 18px; min-height: 380px; }
    .workspace-header { padding: 12px 16px; }
    .tab-btn { padding: 7px 14px; font-size: 0.78rem; }

    .preview-box { padding: 20px; }

    /* Features */
    .features { padding: 70px 16px; }
    .section-header h2 { font-size: 1.9rem; }
    .feature-card { padding: 28px 22px; border-radius: 18px; }
    .feature-card h3 { font-size: 1rem; }

    /* How It Works */
    .how-it-works { padding: 70px 16px; }
    .step-num-wrap { width: 64px; height: 64px; border-radius: 16px; }
    .step-num { font-size: 1.2rem; }
    .step h4 { font-size: 0.95rem; }

    /* Footer */
    .footer { padding: 60px 16px 24px; }
    .footer-bottom-bar { font-size: 0.78rem; }
}

/* --- Small Mobile: 480px se neeche --- */
@media (max-width: 480px) {

    /* Hero */
    .hero-content h1 { font-size: 1.85rem; }
    .hero-badge { font-size: 0.68rem; padding: 5px 12px; }

    /* Stats - vertical stack on very small screens */
    .stats-bar {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .stat-divider { width: 40px; height: 1px; }

    /* Upload */
    .upload-area { padding: 28px 16px; }
    .upload-formats { gap: 6px; }
    .fmt-tag { font-size: 0.65rem; padding: 3px 8px; }

    /* Color Grid - 4 per row on small screens */
    .color-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }

    /* Navbar - extra small */
    .logo span { display: none; } /* sirf icon dikhao */

    /* Features */
    .features { padding: 50px 12px; }
    .how-it-works { padding: 50px 12px; }
    .section-header h2 { font-size: 1.65rem; }
}

/* --- Custom Cursor: Mobile pe band karo (touch devices) --- */
@media (hover: none) and (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none !important; }
    body { cursor: auto; }
    .btn-login, .btn-primary, .btn-download, .tool-btn,
    .color-btn, .custom input, .tab-btn { cursor: pointer; }
}