/* ============================================================
   Draftsend.io Landing Page Styles
   Version: 3.0.0
   Last Updated: 2026-04-02
   ============================================================ */

/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3B82F6;
    --primary-light: #60A5FA;
    --primary-dark: #2563EB;
    --secondary: #10B981;
    --accent-1: #8B5CF6;
    --accent-2: #F59E0B;
    --accent-3: #EC4899;

    --gradient-1: linear-gradient(135deg, #3B82F6, #8B5CF6);
    --gradient-2: linear-gradient(135deg, #10B981, #3B82F6);
    --gradient-3: linear-gradient(135deg, #8B5CF6, #EC4899);

    --bg-dark: #0B1120;
    --bg-darker: #030712;
    --bg-light: #F8FAFC;
    --text-light: #F1F5F9;
    --text-muted: #94A3B8;

    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top right, var(--bg-dark), var(--bg-darker));
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* ===== ANIMATED BACKGROUND ===== */
.gradient-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
}

.gradient-bg::before,
.gradient-bg::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
}

.gradient-bg::before {
    top: -50%;
    right: -50%;
    background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    animation: rotate 60s linear infinite;
}

.gradient-bg::after {
    bottom: -50%;
    left: -50%;
    background: radial-gradient(circle at 30% 70%, rgba(16, 185, 129, 0.12) 0%, transparent 50%);
    animation: rotate-reverse 50s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-reverse {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(-360deg);
    }
}

.shape {
    position: fixed;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.1));
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.1));
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 20%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.1));
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, 30px) scale(1.1);
    }
    50% {
        transform: translate(20px, -20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, 10px) scale(1.05);
    }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 0 30px rgba(59, 130, 246, .3);
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #E2E8F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.logo-text span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: all .3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width .3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-outline {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.7);
    color: var(--text-light);
}

.btn-outline:hover {
    border-color: var(--primary-light);
    background: rgba(15, 23, 42, 0.7);
}

.btn-primary {
    padding: 10px 20px;
    background: var(--gradient-1);
    border: none;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    transition: all .3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.5);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 20px;
    margin-left: 4px;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, .15);
    border: 1px solid rgba(16, 185, 129, .3);
    border-radius: 100px;
    padding: 8px 20px;
    margin-bottom: 24px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff, #CBD5E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== HERO VISUAL CARD ===== */
.hero-visual {
    position: relative;
}

.visual-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.card-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-1);
}

.card-dot:nth-child(2) {
    background: var(--accent-2);
}

.card-dot:nth-child(3) {
    background: var(--accent-3);
}

.card-title {
    flex: 1;
    text-align: right;
    font-size: 14px;
    color: var(--text-muted);
}

.template-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.template-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    text-align: left;
}

.template-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.template-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.template-category {
    font-size: 12px;
    color: var(--text-muted);
}

.feature-list {
    margin-top: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.feature-text {
    flex: 1;
    font-size: 14px;
}

.feature-tag {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    font-weight: 600;
}

/* ===== BRAND SECTION ===== */
.brand-section {
    margin: 0 0 80px;
    background: rgba(15, 23, 42, 0.65);
    border-radius: 32px;
    padding: 40px 32px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
}

.brand-heading {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.brand-heading span {
    background: linear-gradient(135deg, #3B82F6, #22C55E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-copy {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 520px;
}

.brand-copy strong {
    color: #E5E7EB;
}

.brand-list {
    list-style: none;
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.brand-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.brand-list li i {
    color: #22C55E;
}

.brand-chip {
    align-self: flex-start;
    justify-self: flex-end;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(52, 211, 153, 0.35);
    font-size: 12px;
    max-width: 240px;
}

.brand-chip-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6EE7B7;
    font-weight: 600;
}

.brand-chip-metric {
    font-size: 22px;
    font-weight: 700;
    color: #BBF7D0;
}

.brand-chip-note {
    color: var(--text-muted);
}

/* ===== FEATURES SECTION ===== */
.features {
    margin-bottom: 80px;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    padding: 8px 20px;
    margin-bottom: 20px;
    color: var(--primary-light);
    font-size: 14px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 18px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

.feature-icon-large {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ===== SHOWCASE SECTION ===== */
.showcase {
    margin-bottom: 80px;
}

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

.showcase-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.showcase-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.showcase-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.showcase-type {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== TEMPLATE BROWSER BRIDGE ===== */
.template-browser-bridge {
    margin: 36px auto 80px;
    max-width: 860px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 28px 24px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.template-browser-bridge h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #fff;
}

.template-browser-bridge p {
    max-width: 620px;
    margin: 0 auto 20px;
    font-size: 16px;
    color: var(--text-muted);
}

.template-browser-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.template-browser-link {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.template-browser-link:hover {
    text-decoration: underline;
}

/* ===== CTA SECTION ===== */
.cta {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-description {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    font-size: 18px;
}

.cta-form {
    max-width: 500px;
    margin: 0 auto;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    width: 100%;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    transition: all .3s ease;
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

select.form-input option {
    background: var(--bg-dark);
    color: var(--text-light);
}

.form-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 20px;
}

.form-note a {
    color: var(--primary-light);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    max-width: 300px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 18px;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--primary-light);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 48px;
    }
    .brand-section {
        grid-template-columns: 1fr;
    }
    .brand-chip {
        justify-self: flex-start;
        margin-top: 12px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-main {
        width: 100%;
        justify-content: space-between;
    }
    .hero-title {
        font-size: 40px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cta {
        padding: 60px 20px;
    }
    .cta-title {
        font-size: 36px;
    }
    .nav-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    .container {
        padding: 20px 16px;
    }
    .section-title {
        font-size: 32px;
    }
    .cta-title {
        font-size: 28px;
    }
}