/* Schools Page Specific Styles */

/* Color Variables for Schools */
:root {
    --schools-primary: #1e40af;
    --schools-primary-light: #3b82f6;
    --schools-secondary: #0ea5e9;
    --schools-accent: #06b6d4;
    --schools-success: #10b981;
}

/* Schools Navigation */
.schools-nav {
    background: rgba(30, 64, 175, 0.95);
}

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

.schools-nav .nav-links a:hover {
    color: var(--accent);
}

/* Schools Hero */
.schools-hero {
    position: relative;
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #0ea5e9 100%);
    overflow: hidden;
}

.schools-hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.schools-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.schools-hero-title {
    font-size: 3.25rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.gradient-text-blue {
    display: block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.schools-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.schools-hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    font-family: 'Fredoka', sans-serif;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.schools-hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-schools-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e3a5f;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-schools-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

.btn-schools-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.2s;
}

.btn-schools-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Schools Hero Visual */
.schools-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.classroom-scene {
    position: relative;
    width: 400px;
    height: 400px;
}

.floating-buddy {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: white;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
}

.floating-buddy img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.buddy-1 {
    top: 0%;
    left: 20%;
    animation-delay: 0s;
}

.buddy-2 {
    top: 35%;
    right: 0%;
    animation-delay: 1s;
}

.buddy-3 {
    bottom: 0%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

.classroom-card {
    position: absolute;
    bottom: 25%;
    right: 25%;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.classroom-icon {
    font-size: 2.5rem;
}

.classroom-text {
    display: flex;
    flex-direction: column;
}

.classroom-label {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.classroom-count {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--schools-primary);
    font-family: 'Fredoka', sans-serif;
}

/* Benefits Section */
.schools-benefits {
    padding: 6rem 0;
    background: var(--bg-white);
}

.benefits-grid-schools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card-schools {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.benefit-card-schools:hover {
    border-color: var(--schools-primary);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
    transform: translateY(-5px);
}

.benefit-icon-schools {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card-schools h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.benefit-card-schools p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Features Section */
.schools-features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 3rem;
}

.feature-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-showcase-item.reverse {
    direction: rtl;
}

.feature-showcase-item.reverse > * {
    direction: ltr;
}

.feature-showcase-content h3 {
    font-size: 1.75rem;
    color: var(--schools-primary);
    margin-bottom: 1rem;
}

.feature-showcase-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-dark);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--schools-success);
    font-weight: bold;
}

/* Dashboard Preview */
.dashboard-preview {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.preview-header {
    background: #e5e7eb;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dot.red { background: #ef4444; }
.preview-dot.yellow { background: #fbbf24; }
.preview-dot.green { background: #22c55e; }

.preview-content {
    padding: 2rem;
    display: flex;
    gap: 2rem;
}

.preview-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.preview-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--schools-primary);
    font-family: 'Fredoka', sans-serif;
}

/* Adaptive Visual */
.adaptive-visual {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.learning-path {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.path-node {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    background: #e5e7eb;
    color: var(--text-gray);
}

.path-node.completed {
    background: var(--schools-success);
    color: white;
}

.path-node.active {
    background: var(--schools-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
}

.path-node.dim {
    opacity: 0.5;
}

.path-connector {
    width: 30px;
    height: 3px;
    background: var(--schools-success);
}

.path-connector.dim {
    background: #e5e7eb;
    opacity: 0.5;
}

/* Subjects Grid */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.subject-badge {
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: white;
}

.subject-badge.math { background: #ef4444; }
.subject-badge.reading { background: #8b5cf6; }
.subject-badge.science { background: #06b6d4; }
.subject-badge.sel { background: #ec4899; }
.subject-badge.coding { background: #f59e0b; }
.subject-badge.art { background: #10b981; }

/* Pricing Section */
.schools-pricing {
    padding: 6rem 0;
    background: var(--bg-white);
}

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

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    border: 2px solid var(--border);
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--schools-primary);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.15);
}

.pricing-card.featured {
    border-color: var(--schools-primary);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--schools-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-name {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--schools-primary);
    font-family: 'Fredoka', sans-serif;
}

.price-period {
    display: block;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--schools-success);
    font-weight: bold;
}

.btn-pricing {
    display: block;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border);
    transition: all 0.2s;
}

.btn-pricing:hover {
    background: var(--schools-primary);
    color: white;
    border-color: var(--schools-primary);
}

.btn-pricing.featured {
    background: var(--schools-primary);
    color: white;
    border-color: var(--schools-primary);
}

.btn-pricing.featured:hover {
    background: var(--schools-primary-light);
    border-color: var(--schools-primary-light);
}

/* Pilot Section */
.schools-pilot {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.pilot-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pilot-text .section-title {
    color: white;
}

.pilot-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.pilot-benefits {
    list-style: none;
    padding: 0;
}

.pilot-benefits li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: white;
}

.pilot-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: bold;
    font-size: 1.2rem;
}

.pilot-cta {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.pilot-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef3c7;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.pilot-badge-icon {
    font-size: 1.5rem;
}

.pilot-badge-text {
    font-weight: 600;
    color: var(--schools-primary);
}

.pilot-cta h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

/* Testimonials */
.schools-testimonials {
    padding: 6rem 0;
    background: var(--bg-light);
}

.testimonial-card-schools {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author-schools {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info strong {
    display: block;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Contact Section */
.schools-contact {
    padding: 6rem 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-description {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    font-size: 1.5rem;
}

.contact-method strong {
    display: block;
    color: var(--text-dark);
}

.contact-method a,
.contact-method span {
    color: var(--schools-primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--schools-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    flex-direction: row;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.checkbox-label a {
    color: var(--schools-primary);
}

.btn-submit {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #047857;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #dc2626;
}

/* Responsive */
@media (max-width: 968px) {
    .schools-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .schools-hero-title {
        font-size: 2.5rem;
    }

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

    .schools-hero-buttons {
        justify-content: center;
    }

    .schools-hero-visual {
        order: -1;
    }

    .classroom-scene {
        width: 300px;
        height: 300px;
    }

    .feature-showcase-item,
    .feature-showcase-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .pilot-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .schools-hero {
        padding: 10rem 0 6rem;
    }

    .schools-hero-title {
        font-size: 2rem;
    }

    .schools-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .schools-hero-buttons {
        flex-direction: column;
    }

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

    .learning-path {
        flex-wrap: wrap;
        justify-content: center;
    }

    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
