/* ============================================
   Drive Browser — Landing Page Styles
   Dark theme matching the desktop application
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #1e1e1e;
    color: #d4d4d4;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #007acc;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #00b4d8;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: #ffffff;
}

.section-subtitle {
    text-align: center;
    color: #888888;
    font-size: 1.1rem;
    margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: #007acc;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #00b4d8;
    color: #ffffff;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.15rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    background-color: #3e3e42;
    color: #d4d4d4;
    border-radius: 4px;
}

.btn-small:hover {
    background-color: #007acc;
    color: #fff;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2d2d30;
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-logo:hover {
    color: #ffffff;
}

.nav-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

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

.nav-links a {
    color: #d4d4d4;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background-color: #007acc;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 6px;
}

.nav-cta:hover {
    background-color: #00b4d8 !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: #d4d4d4;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: radial-gradient(ellipse at 50% 30%, rgba(0, 122, 204, 0.08) 0%, transparent 70%);
}

.hero-content {
    max-width: 90%;
}

.hero-logo {
    object-fit: contain;
    margin-bottom: 32px;
    filter: drop-shadow(0 4px 24px rgba(0, 122, 204, 0.3));
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #888888;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-desk-img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 48px;
    border-radius: 12px;
    filter: drop-shadow(0 4px 24px rgba(0, 122, 204, 0.3));
}

/* --- Features --- */
.features {
    padding: 50px 0;
}

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

.feature-card {
    background-color: #2d2d30;
    border: 1px solid #3e3e42;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #007acc;
}

.feature-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.92rem;
    color: #888888;
    line-height: 1.6;
}

/* --- Capabilities --- */
.capabilities {
    padding: 80px 0;
    background-color: #252526;
}

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

.cap-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cap-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: rgba(0, 122, 204, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cap-icon svg {
    width: 22px;
    height: 22px;
}

.cap-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.cap-text p {
    font-size: 0.88rem;
    color: #888888;
    line-height: 1.6;
}

/* --- Screenshots --- */
.screenshots {
    padding: 80px 0;
}

.section-emoji {
    text-align: center;
    font-size: 1rem;
    color: #007acc;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

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

.screenshot-card {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid #3e3e42;
    border-radius: 12px;
    background-color: #2d2d30;
}

.screenshot-thumb {
    display: block;
    margin-bottom: 20px;
    border: 2px solid #007acc;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.screenshot-thumb:hover {
    border-color: #00b4d8;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 122, 204, 0.3);
}

.screenshot-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.screenshot-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.screenshot-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: #00b4d8;
    margin-bottom: 12px;
}

.screenshot-card p {
    font-size: 0.92rem;
    color: #888888;
    line-height: 1.6;
    margin-bottom: 12px;
}

.screenshot-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 12px;
    padding: 0;
}

.screenshot-card ul li {
    padding: 3px 0 3px 24px;
    position: relative;
    color: #d4d4d4;
    font-size: 0.88rem;
    line-height: 1.6;
}

.screenshot-card ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #007acc;
    font-weight: 700;
}

.screenshot-closing {
    font-size: 0.88rem;
    color: #888888;
    font-style: italic;
    margin-bottom: 0 !important;
}

/* --- Lightbox --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    cursor: pointer;
    padding: 40px;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 3001;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #00b4d8;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    border: 2px solid #007acc;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
    cursor: default;
}

/* --- Pricing --- */
.pricing {
    padding: 50px 0;
}

.pricing-card {
    max-width: 440px;
    margin: 0 auto;
    background-color: #2d2d30;
    border: 2px solid #007acc;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.pricing-amount {
    margin-bottom: 32px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
}

.price-period {
    display: block;
    font-size: 0.95rem;
    color: #888888;
    margin-top: 4px;
}

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

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #3e3e42;
    color: #d4d4d4;
    font-size: 0.95rem;
    padding-left: 28px;
    position: relative;
}

.pricing-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #007acc;
    font-weight: 700;
}

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

.paypal-button-wrapper {
    margin-bottom: 20px;
    min-height: 55px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 12px 12px 8px;
}

.pricing-note {
    font-size: 0.85rem;
    color: #888888;
}

/* --- How It Works --- */
.how-it-works {
    padding: 50px 0;
}

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

.step-card {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid #007acc;
    border-radius: 12px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #007acc;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
    color: #888888;
    line-height: 1.6;
}

.step-img {
    display: block;
    width: 50%;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

/* --- FAQ --- */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 2px solid #007acc;
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.2s, border-radius 0.3s;
}

.faq-item.open {
    border-radius: 20px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    background: none;
    border: none;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: #007acc;
    transition: transform 0.25s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question::after {
    content: "\2212";
    transform: rotate(180deg);
}

.faq-question:hover {
    color: #00b4d8;
}

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

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 28px 20px;
}

.faq-answer p {
    font-size: 0.93rem;
    color: #888888;
    line-height: 1.7;
}

/* --- Download --- */
.download {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(ellipse at 50% 70%, rgba(0, 122, 204, 0.06) 0%, transparent 70%);
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.download-win-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.download-direct-link {
    font-size: 0.82rem;
    color: #777777;
    text-decoration: underline;
    cursor: pointer;
}

.download-direct-link:hover {
    color: #aaaaaa;
}

.download-version {
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #cccccc;
}

.download-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #888888;
}

/* --- Footer --- */
.footer {
    border-top: 1px solid #2d2d30;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;.how-it-works;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #ffffff;
}

.footer-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #888888;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #00b4d8;
}

.footer-copy {
    font-size: 0.82rem;
    color: #555555;
}

/* --- Success Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.modal {
    background-color: #2d2d30;
    border: 1px solid #3e3e42;
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.modal h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.modal p {
    color: #888888;
    margin-bottom: 20px;
}

.modal-key-box {
    background-color: #1e1e1e;
    border: 1px solid #3e3e42;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.modal-key-box label {
    display: block;
    font-size: 0.8rem;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.modal-key-box code {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #00b4d8;
    letter-spacing: 2px;
    margin-bottom: 12px;
    word-break: break-all;
}

.modal-note {
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 12px;
}

/* --- Shared Form Styles --- */
.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

.form-group label {
    color: #d4d4d4;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    background-color: #1e1e1e;
    border: 1px solid #3e3e42;
    color: #d4d4d4;
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.9rem;
    width: 100%;
    transition: border-color 0.2s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007acc;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555555;
}

.form-hint {
    color: #666666;
    font-size: 0.78rem;
    margin-top: 5px;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.form-note {
    color: #666666;
    font-size: 0.8rem;
    margin: 0;
}

.form-message {
    margin-top: 14px;
    font-size: 0.875rem;
    padding: 10px 14px;
    border-radius: 6px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(0, 170, 80, 0.12);
    border: 1px solid rgba(0, 170, 80, 0.3);
    color: #4ec97b;
}

.form-message.error {
    display: block;
    background-color: rgba(200, 50, 50, 0.12);
    border: 1px solid rgba(200, 50, 50, 0.3);
    color: #e07070;
}

.btn-form {
    padding: 11px 28px;
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* --- Feature Suggestion --- */
.suggest {
    padding: 80px 0;
    background-color: #252526;
}

.suggest .section-subtitle strong {
    color: #d4d4d4;
}

.suggest-card {
    background-color: #2d2d30;
    border: 1px solid #3e3e42;
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Student Discount --- */
.students {
    padding: 80px 0;
    background-color: #1e1e1e;
}

.students-title {
    text-align: left !important;
    margin-bottom: 16px;
}

.students-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.students-text p {
    color: #888888;
    line-height: 1.7;
    margin-bottom: 20px;
}

.students-text strong {
    color: #d4d4d4;
}

.students-perks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.students-perks li {
    color: #888888;
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 0.95rem;
}

.students-perks li::before {
    content: '✓';
    color: #007acc;
    position: absolute;
    left: 0;
    font-weight: 700;
}

.students-form-wrap {
    background-color: #2d2d30;
    border: 1px solid #3e3e42;
    border-radius: 16px;
    padding: 36px;
}

/* --- ToS Modal --- */
.tos-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.tos-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.tos-modal {
    background-color: #2d2d30;
    border: 1px solid #3e3e42;
    border-radius: 16px;
    padding: 36px 40px 32px;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.tos-modal h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.tos-intro {
    color: #888888;
    font-size: 0.875rem;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.tos-scroll {
    overflow-y: auto;
    background-color: #1e1e1e;
    border: 1px solid #3e3e42;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #aaaaaa;
    max-height: 340px;
    flex-shrink: 1;
}

.tos-scroll h3 {
    color: #d4d4d4;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 4px;
}

.tos-scroll h3:first-child {
    margin-top: 0;
}

.tos-scroll p {
    margin-bottom: 0;
}

.tos-doc-title {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem !important;
    margin-bottom: 2px !important;
}

.tos-doc-updated {
    color: #666666 !important;
    font-size: 0.8rem !important;
    margin-bottom: 16px !important;
}

.tos-scroll ul {
    padding-left: 18px;
    margin: 6px 0 10px;
}

.tos-scroll ul li {
    margin-bottom: 3px;
}

.tos-scroll strong {
    color: #d4d4d4;
}

.tos-divider {
    border-top: 1px solid #3e3e42;
    margin: 20px 0;
}

.tos-section-label {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
}

.tos-footer {
    flex-shrink: 0;
}

.tos-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d4d4d4;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 20px;
    user-select: none;
}

.tos-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007acc;
    cursor: pointer;
    flex-shrink: 0;
}

.tos-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.tos-cancel-btn {
    background-color: transparent;
    border: 1px solid #3e3e42;
    color: #888888;
}

.tos-cancel-btn:hover {
    background-color: #3e3e42;
    color: #d4d4d4;
}

.tos-download-btn {
    pointer-events: none;
    opacity: 0.35;
}

.tos-download-btn.enabled {
    pointer-events: all;
    opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: rgba(30, 30, 30, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid #2d2d30;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

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


    .screenshots-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card {
        padding: 36px 28px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .modal {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .features-grid,
    .cap-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .price {
        font-size: 2.4rem;
    }

    .students-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .students-title {
        text-align: center !important;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-submit-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .suggest-card {
        padding: 28px 20px;
    }

    .students-form-wrap {
        padding: 24px 20px;
    }
}

/* ============================================
   Account Page
   ============================================ */

.account-page {
    padding: 120px 0 80px;
    min-height: calc(100vh - 160px);
}

.account-card {
    max-width: 520px;
    margin: 0 auto 24px;
    background-color: #2d2d30;
    border: 1px solid #3e3e42;
    border-radius: 12px;
    padding: 40px 36px;
}

.account-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
}

.account-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.account-subtitle {
    color: #888888;
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-align: center;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-input {
    width: 100%;
    padding: 14px 16px;
    background-color: #1e1e1e;
    border: 1px solid #3e3e42;
    border-radius: 6px;
    color: #d4d4d4;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.account-input:focus {
    border-color: #007acc;
    box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.2);
}

.account-input::placeholder {
    color: #555555;
}

.account-btn {
    font-size: 1rem;
    padding: 14px 24px;
}

.account-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.account-error {
    color: #f44747;
    font-size: 0.88rem;
    margin-top: 8px;
    min-height: 1.2em;
    text-align: center;
}

.account-success {
    color: #4ec9b0;
    font-size: 0.88rem;
    margin-top: 8px;
    text-align: center;
}

.account-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: #007acc;
}

.account-link:hover {
    color: #00b4d8;
}

.account-back-link {
    max-width: 520px;
    margin: 0 auto;
    padding-top: 8px;
}

.account-field {
    margin-bottom: 16px;
}

.account-field label {
    display: block;
    font-size: 0.8rem;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.account-field span {
    color: #d4d4d4;
    font-size: 0.95rem;
}

.account-field-row {
    display: flex;
    gap: 32px;
}

.account-key-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #1e1e1e;
    border: 1px solid #3e3e42;
    border-radius: 6px;
    padding: 12px 16px;
}

.account-key-row code {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 700;
    color: #00b4d8;
    letter-spacing: 1.5px;
    word-break: break-all;
}

.account-badge-active {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(78, 201, 176, 0.15);
    color: #4ec9b0;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

/* Account page responsive */
@media (max-width: 768px) {
    .account-card {
        padding: 28px 20px;
    }

    .account-field-row {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .account-page {
        padding: 100px 0 60px;
    }

    .account-card {
        padding: 24px 16px;
    }

    .account-key-row code {
        font-size: 0.95rem;
    }
}


/* ── AI Search Banner ───────────────────────────────────────── */
.ai-banner {
    background: linear-gradient(135deg, #0a1628 0%, #0d2340 50%, #0a1628 100%);
    border-top: 1px solid #1a3a5c;
    border-bottom: 1px solid #1a3a5c;
    padding: 72px 0;
}

.ai-banner-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.ai-banner-badge {
    display: inline-block;
    background: #007acc;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.ai-banner-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.ai-banner-desc {
    font-size: 1.1rem;
    color: #b0c8e0;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 48px;
}

.ai-banner-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ai-step {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,122,204,0.3);
    border-radius: 12px;
    padding: 20px 24px;
    max-width: 200px;
    text-align: center;
}

.ai-step-num {
    width: 36px;
    height: 36px;
    background: #007acc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin: 0 auto 12px;
}

.ai-step p {
    font-size: 0.88rem;
    color: #b0c8e0;
    line-height: 1.5;
    margin: 0;
}

.ai-step-arrow {
    font-size: 1.5rem;
    color: #007acc;
    font-weight: 700;
}

/* Featured cap-item (AI search) */
.cap-item-featured {
    border: 1px solid rgba(0,122,204,0.4);
    background: rgba(0,122,204,0.06);
    border-radius: 12px;
    padding: 16px;
}

/* NEW badge inside cap-item */
.cap-new-badge {
    display: inline-block;
    background: #007acc;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 6px;
    position: relative;
    top: -1px;
}

@media (max-width: 600px) {
    .ai-banner-title {
        font-size: 1.8rem;
    }
    .ai-step-arrow {
        transform: rotate(90deg);
    }
    .ai-banner-steps {
        flex-direction: column;
        align-items: center;
    }
}
