/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a365d;
    --accent-emerald: #059669;
    --text-dark: #1a202c;
    --text-gray: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--accent-emerald);
    color: white;
}

.btn-primary:hover {
    background-color: #047857;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

.btn-text {
    background-color: transparent;
    color: var(--primary-blue);
    padding: 12px 20px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-text:hover {
    color: var(--accent-emerald);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Section Titles */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 40px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 16px 0;
}

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

.navbar-brand .logo {
    height: 40px;
}

.navbar-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-emerald);
}

.nav-link-login {
    color: var(--accent-emerald);
    font-weight: 600;
    display: none;
}

.nav-link-login:hover {
    color: #047857;
}

.navbar-cta {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text .badge {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-screenshot {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Trust Bar */
.trust-bar {
    background-color: var(--primary-blue);
    padding: 40px 0;
}

.trust-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-emerald);
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 16px;
    color: white;
}

/* Problem → Solution */
.problem-solution {
    padding: 80px 0;
    background-color: var(--bg-white);
}

/* Comparison Section */
.comparison {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto 60px;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-header {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    background-color: var(--primary-blue);
    color: white;
}

.comparison-empty {
    padding: 20px;
}

.comparison-col {
    padding: 20px;
    text-align: center;
}

.comparison-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.comparison-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-label {
    padding: 20px;
    font-weight: 600;
    color: var(--text-dark);
    background-color: #f8fafc;
}

.comparison-value {
    padding: 20px;
    text-align: center;
}

.comparison-value.docuteach {
    background-color: #f0fdf4;
    color: var(--accent-emerald);
    font-weight: 600;
}

.comparison-value.conventional {
    color: var(--text-gray);
}

.comparison-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.highlight-item {
    text-align: center;
    padding: 32px;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.highlight-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.highlight-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.highlight-item p {
    font-size: 16px;
    color: var(--text-gray);
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.problem-card, .solution-card {
    padding: 40px;
    border-radius: 12px;
}

.problem-card {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
}

.solution-card {
    background-color: #f0fdf4;
    border-left: 4px solid var(--accent-emerald);
}

.problem-card h2, .solution-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.problem-list, .solution-list {
    list-style: none;
}

.problem-list li, .solution-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
}

.problem-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

.solution-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-emerald);
    font-weight: bold;
}

/* Document Flow */
.document-flow {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.flow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.flow-item {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    min-width: 140px;
}

.flow-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 12px;
}

.flow-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.flow-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status.available {
    background-color: #f0fdf4;
    color: var(--accent-emerald);
}

.flow-arrow {
    font-size: 24px;
    color: var(--accent-emerald);
    font-weight: bold;
}

/* Features Showcase */
.features-showcase {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.feature-card {
    padding: 32px;
    border-radius: 12px;
    background-color: var(--bg-light);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

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

/* Video Demo */
.video-demo {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* All Apps */
.all-apps {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.app-category {
    padding: 32px;
    border-radius: 12px;
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-emerald);
}

.app-category h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.app-category p {
    font-size: 16px;
    color: var(--text-gray);
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.pricing-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-container {
    margin-bottom: 16px;
}

.price-original {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: line-through;
    margin-bottom: 8px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-emerald);
    margin-bottom: 16px;
}

.launch-note {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 24px;
    font-style: italic;
}

.price .period {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.slots-info {
    margin-top: 16px;
    font-size: 14px;
    color: #f59e0b;
    font-weight: 500;
}

/* Registration Steps */
.registration-steps {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
    max-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 16px;
    color: var(--text-gray);
}

.step-note {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 8px;
}

.step-arrow {
    font-size: 32px;
    color: var(--accent-emerald);
    font-weight: bold;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.faq-item {
    background-color: var(--bg-white);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 24px;
    color: var(--accent-emerald);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-gray);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* CTA Final */
.cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5282 100%);
    text-align: center;
    color: white;
}

.cta-final h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-final p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-final .btn-primary {
    background-color: var(--accent-emerald);
    color: white;
}

.cta-final .slots-info {
    color: #fbbf24;
    margin-top: 16px;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-brand .footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-nav h3, .footer-contact h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-nav a, .footer-contact a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 12px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover, .footer-contact a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

/* Policy Pages */
.policy-page {
    padding: 120px 0 60px;
    background-color: var(--bg-white);
}

.policy-card {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.policy-card h1 {
    font-size: 32px;
    line-height: 1.2;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.policy-meta {
    color: var(--text-gray);
    margin-bottom: 24px;
}

.policy-card h2 {
    font-size: 20px;
    color: var(--primary-blue);
    margin: 24px 0 10px;
}

.policy-card p {
    color: var(--text-dark);
    margin-bottom: 12px;
}

.policy-card ul {
    padding-left: 20px;
    margin: 8px 0 16px;
}

.policy-card li {
    margin-bottom: 8px;
}

.policy-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.policy-actions a {
    text-decoration: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-video {
    max-width: 900px;
    padding: 0;
    background: none;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-gray);
    z-index: 10;
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-emerald);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
