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

:root {
    --bg-dark: #0b0f19;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-card: rgba(255, 255, 255, 0.07);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent: #ff3366;
    --accent-glow: rgba(255, 51, 102, 0.4);
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 51, 102, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 40%);
}

/* Header & Navigation */
header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px) saturate(180%);
    background-color: rgba(11, 15, 25, 0.7);
    border-bottom: 1px solid var(--border-card);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-header {
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-tag {
    background: rgba(255, 51, 102, 0.1);
    color: var(--accent);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 51, 102, 0.2);
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-purple) 70%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: fadeInUp 1.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    box-shadow: 0 10px 25px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 51, 102, 0.6);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    padding: 1rem 2.25rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

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

/* Interactive Drawing Sandbox */
.sandbox-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1.4s ease;
}

.macbook-frame {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 0.75rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    position: relative;
    backdrop-filter: blur(10px);
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid var(--border-card);
}

.window-dots {
    display: flex;
    gap: 0.4rem;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.sandbox-instructions {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.window-body {
    position: relative;
    width: 100%;
    height: 450px;
    background-color: #1e1e1e;
    background-image: 
        radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath fill-rule='evenodd' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z'/%3E%3C/g%3E%3C/svg%3E");
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    cursor: crosshair;
}

.drawing-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.demo-ui {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 420px;
    background: rgba(15, 22, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none; /* Let clicks pass through to canvas */
    user-select: none;
}

.demo-title {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.demo-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    margin-bottom: 0.85rem;
}

.demo-bar-fill {
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 9999px;
}

.demo-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.canvas-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    border-top: 1px solid var(--border-card);
}

.btn-ctrl {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-ctrl.primary {
    background: rgba(255, 51, 102, 0.15);
    border-color: rgba(255, 51, 102, 0.3);
    color: var(--accent);
}

.btn-ctrl.primary:hover {
    background: rgba(255, 51, 102, 0.25);
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 51, 102, 0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(255, 51, 102, 0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 51, 102, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 51, 102, 0.15);
}

.feature-card.blue .feature-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border-color: rgba(59, 130, 246, 0.15);
}

.feature-card.purple .feature-icon {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    border-color: rgba(139, 92, 246, 0.15);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
    padding: 6rem 2rem 10rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    backdrop-filter: blur(15px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    color: white;
    padding: 0.35rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(255, 51, 102, 0.3);
}

.price {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin: 1.5rem 0 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-desc {
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto 2.5rem;
}

.pricing-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-pricing-primary {
    width: 100%;
    max-width: 320px;
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-pricing-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 51, 102, 0.6);
}

.btn-donate {
    width: 100%;
    max-width: 320px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(217, 119, 6, 0.5);
}

.btn-pricing-secondary {

    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: underline;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
}

.btn-pricing-secondary:hover {
    color: var(--text-primary);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #0f172a;
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: left;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.modal-body {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.modal-body code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    color: var(--accent);
}

.modal-body a {
    color: var(--accent);
    text-decoration: underline;
    transition: var(--transition);
}

.modal-body a:hover {
    color: var(--accent-purple);
}

.modal-body ol {
    margin-top: 1rem;
    padding-left: 1.25rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-card);
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding-top: 6rem;
    }
    
    .window-body {
        height: 320px;
    }
    
    .demo-ui {
        width: 90%;
        padding: 1.25rem;
    }
}

/* Crowdfund Milestone Section */
.crowdfund-milestone {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    text-align: left;
}

.milestone-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.milestone-text strong {
    color: #f59e0b; /* warm golden color to match the donate button */
}

.milestone-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.milestone-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 9999px;
}

.milestone-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* macOS HUD Toast Notification Style */
.hud-toast {
    position: fixed;
    bottom: 24px;
    right: -260px; /* Initially hidden off-screen */
    width: 210px;
    height: 152px;
    background: rgba(28, 28, 30, 0.65);
    backdrop-filter: blur(25px) saturate(210%);
    -webkit-backdrop-filter: blur(25px) saturate(210%);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 999;
    padding: 10px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; /* User can click through it */
}

.hud-toast.active {
    transform: translateX(-284px); /* Slide in to the left */
}

.hud-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.hud-thumbnail-container {
    width: 178px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background: #1e1e1e;
}

.hud-thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hud-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hud-checkmark-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.hud-text {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.01em;
    font-family: var(--font-sans);
}

/* Top Canvas Auto-Copy Notification Banner Style */
.canvas-toast {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(-50px);
    opacity: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(39, 201, 63, 0.25); /* Subtle native apple green border */
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    z-index: 10;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    gap: 8px;
}

.canvas-toast::before {
    content: "✓";
    color: #27c93f; /* Apple Green */
    font-weight: 800;
    font-size: 13px;
}

.canvas-toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}



