/* 
  Drawward Landing Page Styles
  Theme: Premium Dark Glassmorphism
*/

:root {
    /* Colors */
    --bg-base: #111116;
    --bg-gradient-start: #1A1A22;
    --bg-gradient-end: #0a0a0f;

    --accent-primary: #F04C1C;
    /* Terracota Ambigrama */
    --accent-secondary: #FF7B4F;
    /* Lighter Terracota */
    --accent-glow: rgba(240, 76, 28, 0.4);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --dark-glass: rgba(10, 10, 15, 0.4);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;

    /* Layout */
    --container-width: 1200px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    background: radial-gradient(circle at top left, var(--bg-gradient-start), var(--bg-base)),
        radial-gradient(circle at bottom right, var(--bg-gradient-end), var(--bg-base));
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animated Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: rgba(240, 76, 28, 0.12);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 35vw;
    height: 35vw;
    background: rgba(255, 123, 79, 0.08);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 50%;
    width: 25vw;
    height: 25vw;
    background: rgba(200, 50, 20, 0.1);
    animation-duration: 25s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10%, 15%) scale(1.1);
    }
}

/* Base Components */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), #FFA07A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.margin-bottom-lg {
    margin-bottom: 4rem;
}

/* Glass Components */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
}

.dark-glass {
    background: var(--dark-glass);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

.mt-auto {
    margin-top: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1000px;
    z-index: 100;
    border-radius: 100px;
    padding: 12px 24px;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    top: 10px;
    background: rgba(10, 10, 15, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
}

/* Sections Configuration */
section {
    padding: 120px 0;
    position: relative;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 160px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(240, 76, 28, 0.1);
    color: #FFB399;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(240, 76, 28, 0.2);
}

.badge-accent {
    background: rgba(255, 123, 79, 0.1);
    color: #FFD6C9;
    border-color: rgba(255, 123, 79, 0.2);
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 24px;
    max-width: 900px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.concept-note {
    font-size: 1.1rem;
    color: #FFB399;
    font-weight: 500;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 24px;
}

/* browser mockup */
.hero-visual {
    margin-top: 60px;
    width: 100%;
    max-width: 1000px;
    padding: 8px;
    border-radius: 12px;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.browser-mockup {
    background: #111116;
    border-radius: 8px;
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.browser-header {
    background: #1A1A22;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #EF4444;
}

.dot.yellow {
    background: #F59E0B;
}

.dot.green {
    background: #10B981;
}

.browser-body {
    flex: 1;
    position: relative;
    background: radial-gradient(circle at center, #1E1E28, #111116);
    overflow: hidden;
}

.ui-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-bubble {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.bubble-1 {
    top: 20%;
    left: 30%;
    animation: floatItem 8s infinite alternate ease-in-out;
}

.bubble-2 {
    bottom: 30%;
    right: 25%;
    animation: floatItem 7s infinite alternate-reverse ease-in-out;
    border-color: var(--accent-secondary);
}

.drawing-path {
    position: absolute;
    top: 40%;
    left: 40%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

.post-it {
    position: absolute;
    top: 25%;
    right: 35%;
    background: #FBBF24;
    color: #78350F;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-family: var(--font-body);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    transform: rotate(5deg);
}

@keyframes floatItem {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-15px);
    }
}

/* Story Section */
.title-secondary {
    font-size: 3rem;
    margin-bottom: 16px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.story-card {
    padding: 40px;
    text-align: left;
}

.story-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.story-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #fff;
}

.story-card p {
    color: var(--text-secondary);
}

/* Features Component */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.align-center {
    align-items: center;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 16px;
    padding-left: 28px;
    position: relative;
    color: #d4d4d8;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.feature-visual {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.feature-glow {
    box-shadow: 0 0 40px rgba(240, 76, 28, 0.15) inset;
}

.abstract-board {
    width: 100%;
    height: 100%;
    position: relative;
}

.cursor {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.1s linear;
}

.cursor span {
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

.cursor-1 {
    top: 30%;
    left: 20%;
    animation: moveCursor1 6s infinite alternate;
}

.cursor-2 {
    bottom: 40%;
    right: 30%;
    animation: moveCursor2 8s infinite alternate-reverse;
}

.sketch-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.5;
    transform: rotate(-10deg);
}

@keyframes moveCursor1 {
    0% {
        top: 30%;
        left: 20%;
    }

    50% {
        top: 60%;
        left: 50%;
    }

    100% {
        top: 20%;
        left: 70%;
    }
}

@keyframes moveCursor2 {
    0% {
        bottom: 40%;
        right: 30%;
    }

    100% {
        bottom: 60%;
        right: 50%;
    }
}

/* Strategic Functions */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-box {
    padding: 32px;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.icon {
    width: 28px;
    height: 28px;
}

.icon-bg-1 {
    background: linear-gradient(135deg, #FF6B3D, #F04C1C);
}

.icon-bg-2 {
    background: linear-gradient(135deg, #F04C1C, #C83214);
}

.icon-bg-3 {
    background: linear-gradient(135deg, #FFA07A, #FF6B3D);
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
}

.popular-tier {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 32px rgba(240, 76, 28, 0.2);
    transform: scale(1.05);
}

.popular-tier:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tier-name {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.tier-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
    min-height: 48px;
}

.tier-features {
    list-style: none;
    margin-bottom: 40px;
}

.tier-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #e4e4e7;
    font-size: 0.95rem;
}

.check {
    width: 20px;
    height: 20px;
    color: var(--accent-secondary);
}

/* Banner */
.cta-banner {
    padding-bottom: 60px;
}

.inner-banner {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(to right, rgba(240, 76, 28, 0.1), rgba(255, 123, 79, 0.1));
    border-color: rgba(240, 76, 28, 0.3);
}

.inner-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.inner-banner p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 24px;
    background: rgba(0, 0, 0, 0.4);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 0.95rem;
}

.link-col h4 {
    color: white;
    margin-bottom: 20px;
}

.link-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.link-col a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Utilities */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 4rem;
    }

    .story-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .popular-tier {
        transform: scale(1);
    }

    .popular-tier:hover {
        transform: translateY(-5px);
    }

    .grid-2-cols {
        grid-template-columns: 1fr;
    }

    .feature-visual {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .navbar {
        width: calc(100% - 32px);
        padding: 12px 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}