:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --bg-dark: #030712;
    --bg-card: #111827;
    --text-white: #f9fafb;
    --text-muted: #9ca3af;
    --glass: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --paper-white: #ffffff;
    --paper-vintage: #fdf6e3;
    --line-blue: #a5ccff;
    --margin-red: #ffb3b3;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography & Utilities */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.8rem 1.5rem;
    transition: var(--transition);
}

.navbar.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    background: rgba(3, 7, 18, 0.9);
    padding: 0.6rem 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links a:hover {
    color: white;
}

.nav-links a i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.nav-cta {
    display: block;
}

.btn-minimal {
    background: white;
    color: black;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-minimal:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 2rem 60px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-primary-lg {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.btn-primary-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary-lg:hover::before {
    left: 100%;
}

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

.btn-outline-lg {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-outline-lg:hover {
    background: var(--glass-border);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

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

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-page {
    width: 350px;
    height: 450px;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: rotate(5deg);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.page-preview {
    font-family: 'Dancing Script', cursive;
    color: #003399;
    font-size: 1.5rem;
    border-left: 2px solid var(--margin-red);
    padding-left: 1rem;
    height: 100%;
}

@keyframes float {

    0%,
    100% {
        transform: rotate(5deg) translateY(0);
    }

    50% {
        transform: rotate(8deg) translateY(-20px);
    }
}

.glass-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    z-index: 1;
}

.decor-1 {
    width: 200px;
    height: 150px;
    top: -50px;
    left: -20px;
}

.decor-2 {
    width: 180px;
    height: 180px;
    bottom: -40px;
    right: -20px;
}

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

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

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

.feature-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.feature-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.feature-card:hover h3 {
    color: white;
}

.feature-card p {
    color: var(--text-muted);
}

/* Editor Section */
.editor-section {
    padding: 100px 2rem;
    background: linear-gradient(180deg, var(--bg-dark), #0f172a);
}

.editor-container-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.editor-header {
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.editor-title-group h2 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.editor-title-group p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.editor-actions {
    display: flex;
    gap: 1rem;
}

.btn-save {
    background: white;
    color: var(--bg-dark);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-save:hover {
    background: var(--primary);
    color: white;
}

.btn-clear {
    background: rgba(255, 255, 255, 0.05);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-clear:hover {
    background: #ef4444;
    color: white;
}

.app-container {
    display: flex;
    height: 800px;
}

.sidebar {
    width: 400px;
    padding: 2.5rem;
    border-right: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.01);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.control-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

textarea {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    transition: var(--transition);
}

textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
}

.control-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width {
    grid-column: span 2;
}

select,
input[type="range"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 0.8rem;
    border-radius: 8px;
    color: white;
    cursor: pointer;
}

.color-picker {
    display: flex;
    gap: 0.6rem;
}

.color-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.color-btn.active {
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.switch-label span {
    font-size: 0.9rem;
    text-transform: none;
    color: var(--text-white);
}

/* Paper Preview Area */
.preview-area {
    flex: 1;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    overflow-y: auto;
}

.paper {
    width: 100%;
    max-width: 800px;
    min-height: 1000px;
    background: white;
    padding: 60px 60px 60px 100px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    transform-origin: top center;
}

.paper.a4 {
    width: 210mm;
    min-height: 297mm;
    max-width: 100%;
}

.paper.letter {
    width: 215.9mm;
    min-height: 279.4mm;
    max-width: 100%;
}

.paper.legal {
    width: 215.9mm;
    min-height: 355.6mm;
    max-width: 100%;
}

.paper.notebook {
    width: 150mm;
    min-height: 200mm;
    max-width: 100%;
}

.margin-line {
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--margin-red);
    opacity: 0.6;
}

.paper.lined {
    background-image: linear-gradient(var(--line-blue) 1px, transparent 1px);
    background-size: 100% 30px;
}

.paper.grid {
    background-image:
        linear-gradient(var(--line-blue) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-blue) 1px, transparent 1px);
    background-size: 30px 30px;
}

.paper.vintage {
    background-color: var(--paper-vintage);
    background-image: radial-gradient(circle at 10% 10%, rgba(0, 0, 0, 0.02) 0%, transparent 100%);
}

.content {
    font-family: 'Dancing Script', cursive;
    font-size: 19px;
    line-height: 30px;
    color: #003399;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Advantages Section */
.advantages {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.adv-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.adv-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.adv-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-stack {
    position: relative;
}

.img-1 {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.floating-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    z-index: -1;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.about-feat-item i {
    color: var(--primary);
}

/* Team Section */
.team {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.team-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    padding: 5px;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: crop;
    border-radius: 50%;
}

.team-card h3 {
    margin-bottom: 0.3rem;
}

.team-card p {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
}

.team-social a:hover {
    color: white;
}

/* Legal Disclaimer */
.legal-disclaimer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    color: white;
    padding: 10px 0;
    z-index: 2000;
    border-top: 2px solid var(--primary);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.disclaimer-track {
    display: flex;
    white-space: nowrap;
    animation: scroll-text 40s linear infinite;
}

.disclaimer-text {
    padding-right: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.close-disclaimer {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.footer-contact {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-white) !important;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 160px;
        min-height: auto;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-features {
        justify-content: center;
    }

    .app-container {
        height: auto;
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 1.5rem;
    }

    .preview-area {
        padding: 1.5rem;
    }

    .paper {
        padding: 40px 20px 40px 50px;
    }

    .margin-line {
        left: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
        width: 85%;
        padding: 0.6rem 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(3, 7, 18, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 3rem 2rem;
        transition: var(--transition);
        z-index: 999;
        justify-content: flex-start;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-primary-lg,
    .btn-outline-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-num {
        font-size: 1.2rem;
    }

    .editor-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .editor-actions {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }

    .btn-save {
        flex: 1;
        text-align: center;
        padding: 0.7rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .control-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-newsletter .newsletter-form {
        flex-direction: column;
    }

    .social-links {
        justify-content: center;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .about-content h2 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .preview-area {
        padding: 2rem 1rem;
        background: #000;
        overflow-x: auto;
        /* Enable horizontal scrolling */
        -webkit-overflow-scrolling: touch;
        display: block;
    }

    .paper {
        padding: 40px 20px 40px 50px;
        width: 210mm !important;
        /* Full A4 width on mobile with horizontal scroll */
        max-width: none !important;
        min-height: 297mm !important;
        /* Full A4 height */
        margin: 0 auto;
        border-radius: 2px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    }

    /* Ensure fixed sizes are respected for horizontal scroll */
    .paper.a4 {
        width: 210mm !important;
        min-height: 297mm !important;
    }

    .paper.letter {
        width: 215.9mm !important;
        min-height: 279.4mm !important;
    }

    .paper.legal {
        width: 215.9mm !important;
        min-height: 355.6mm !important;
    }

    .paper.notebook {
        width: 150mm !important;
        min-height: 200mm !important;
    }

    .margin-line {
        left: 35px;
    }

    .content {
        font-size: 16px !important;
        line-height: 25px !important;
    }

    .legal-disclaimer {
        padding: 8px 0;
    }

    .disclaimer-text {
        font-size: 0.75rem;
    }
}

/* Sub Pages Styles */
.sub-page {
    background: var(--bg-dark);
}

.page-content {
    padding-top: 120px;
}

.page-hero {
    text-align: center;
    padding: 60px 2rem;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.content-section {
    padding: 60px 2rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.content-section p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.content-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.pricing-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), var(--bg-card));
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-top: 1.5rem;
    line-height: 1;
}

.original-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.promo-badge {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

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

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-card li {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.pricing-card i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--glass-border);
    padding: 0.8rem 2rem;
    border-radius: 10px;
    width: 100%;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    width: 100%;
    font-weight: 700;
    cursor: pointer;
}

/* Footer */
.footer {
    padding: 80px 2rem 40px;
    background: #030712;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-newsletter h4 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
}

.btn-primary-sm {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-sm:hover {
    background: var(--primary-glow);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 4rem;
    }

    .app-container {
        flex-direction: column;
        height: auto;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 1.5rem;
    }

    .preview-area {
        padding: 1.5rem;
    }

    .paper {
        padding: 40px 30px 40px 70px;
    }

    .footer-container {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .paper {
        padding: 40px 20px 40px 60px;
    }

    .margin-line {
        left: 45px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-legal {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}