/* BASE STYLES & UTILITIES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background-color: #ffffff;
}

.adotics-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    cursor: pointer;
}

.cta-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* HERO SECTION - Two Columns */
.hero {
    padding: 6rem 2rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.5;
}

.social-proof-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.hero-right {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    height: fit-content;
}

/* Loading state for form */
.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.form-header {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    margin: -2.5rem -2.5rem 2rem -2.5rem;
    border-radius: 20px 20px 0 0;
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 0.95rem;
    opacity: 0.95;
}

.urgency-badge {
    background: rgba(255, 59, 48, 0.8);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* FORM FIELD SPACING FIX */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.3rem;
    border-radius: 10px;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn-text {
    transition: opacity 0.3s;
}

.submit-btn::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: left 0.5s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

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

.trust-signals {
    margin-top: 1.2rem;
    text-align: center;
}

.trust-item {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.4rem;
}

.trust-item::before {
    content: '🔒';
    margin-right: 0.3rem;
}

/* PROBLEM SECTION (Fixed Icon Design and Reduced Padding) */
.problem {
    padding: 3rem 2rem 2rem;
    background: #f8f9fa;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

/* FIX: Problem Icon Styling */
.problem-icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    margin-bottom: 1.5rem;
}

.problem-icon {
    line-height: 1;
}

.problem-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.problem-card p {
    color: #666;
    line-height: 1.7;
}

/* SOLUTION SECTION (Reduced Padding) */
.solution {
    padding: 3rem 2rem 2rem;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

@media (min-width: 969px) {
    .steps::before {
        content: '';
        position: absolute;
        top: 2rem;
        left: 10%;
        right: 10%;
        height: 2px;
        background: #e0e0e0;
        z-index: 0;
        display: block;
    }
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* IMPACT SECTION (Reduced Padding) */
.impact {
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.impact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transform-style: preserve-3d;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.impact-card:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
}

.impact-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    position: relative;
}

.impact-description {
    font-size: 0.95rem;
    color: #666;
    position: relative;
}

/* TESTIMONIALS (Reduced Padding) */
.testimonials {
    padding: 3rem 2rem 2rem;
    background: #f8f9fa;
}

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

.testimonial {
    background: white;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.08);
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    transition: all 0.3s;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #f0f0f0;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.testimonial-info p {
    color: #666;
    font-size: 0.85rem;
}

/* FINAL CTA (Design Fixed) */
.final-cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 1.5rem 3.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.4rem;
    transition: all 0.3s;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.4);
}

/* ADMIN PANEL STYLES (New) */
.admin-view {
    background: #ffffff;
    color: #1a1a1a;
    padding: 2rem;
    border-top: 5px solid #667eea;
    margin-top: 3rem;
    display: none;
}

.admin-view h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

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

.admin-card {
    border: 1px solid #e0e0e0;
    border-left: 5px solid #764ba2;
    padding: 1rem;
    border-radius: 8px;
    background: #fdfdff;
    font-size: 0.9rem;
}

.admin-card p {
    margin: 0.25rem 0;
    line-height: 1.4;
}

.admin-card strong {
    font-weight: 700;
    color: #333;
    display: inline-block;
    min-width: 100px;
}

.admin-loading {
    text-align: center;
    font-style: italic;
    color: #666;
    padding: 2rem;
}

.data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data-header button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.data-header button:hover {
    background: #c82333;
}


/* MEDIA QUERIES (kept responsive) */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left {
        text-align: center;
    }

    .social-proof-mini {
        justify-content: center;
    }

    .hero-right {
        margin: 0;
        padding: 1.5rem;
    }

    .form-header {
        margin: -1.5rem -1.5rem 1rem -1.5rem;
        padding: 1rem;
    }

    .form-header h2 {
        font-size: 1.3rem;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }

    .form-group input {
        padding: 0.8rem;
    }

    .hero-left h1 {
        font-size: 2.5rem;
    }

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

    .final-cta h2 {
        font-size: 2.5rem;
    }

    .final-cta p {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 1.2rem 3rem;
        font-size: 1.2rem;
    }

    .admin-data {
        grid-template-columns: 1fr;
    }
}
