/* ==========================================
   DingDong Landing Page Styles
   ========================================== */

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

:root {
    --primary: #2ad2c5;
    --secondary: #510C76;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --success: #10b981;
    --error: #ef4444;
}

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

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

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #7b2cbf 100%);
    color: white;
    padding: 120px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="white" opacity="0.1"/></svg>');
    animation: float 30s linear infinite;
}

@keyframes float {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-60px);
    }
}

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

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

.logo-hero {
    font-size: 3em;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -2px;
}

.hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.4em;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 300;
}

.hero .highlight {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(42, 210, 197, 0.3);
}

.cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    padding: 18px 45px;
    font-size: 1.2em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(42, 210, 197, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(42, 210, 197, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 18px 45px;
    font-size: 1.2em;
    border: 2px solid white;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: var(--secondary);
    transform: translateY(-3px);
}

.trust-badges {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 1em;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

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

.phone-mockup {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float-phone 3s ease-in-out infinite;
}

@keyframes float-phone {

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

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

/* ==========================================
   Problem Section
   ========================================== */
.problem-section {
    padding: 80px 20px;
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.problem-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #ff6b6b;
    text-align: center;
}

.problem-icon {
    width: 48px;
    height: 48px;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.problem-card h3 {
    color: #ff6b6b;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.solution-arrow {
    text-align: center;
    margin: 30px 0;
}

.solution-arrow i {
    width: 64px;
    height: 64px;
    color: var(--primary);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

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

    50% {
        transform: translateY(10px);
    }
}

.solution-card {
    background: linear-gradient(135deg, var(--primary), #1bc4b8);
    color: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(42, 210, 197, 0.3);
}

.solution-card h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.solution-card p {
    font-size: 1.3em;
    opacity: 0.95;
}

/* ==========================================
   Features Section
   ========================================== */
.features-section {
    padding: 80px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.feature-card:nth-child(2) {
    border-top-color: var(--secondary);
}

.feature-card:nth-child(3) {
    border-top-color: #7b2cbf;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.feature-card:nth-child(2) .feature-icon {
    color: var(--secondary);
}

.feature-card:nth-child(3) .feature-icon {
    color: #7b2cbf;
}

.feature-card h3 {
    font-size: 1.8em;
    color: var(--dark);
}

.feature-image {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.feature-card li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.feature-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card li::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 10px;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
}

/* ==========================================
   Differentiators Section
   ========================================== */
.diff-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--secondary), #7b2cbf);
    color: white;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.diff-item {
    text-align: center;
    padding: 30px;
}

.diff-icon {
    width: 64px;
    height: 64px;
    color: var(--primary);
    margin: 0 auto 20px;
    filter: drop-shadow(0 5px 15px rgba(42, 210, 197, 0.3));
}

.diff-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary);
}

.diff-item p {
    font-size: 1.1em;
    opacity: 0.9;
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing-section {
    padding: 80px 20px;
    background: var(--light);
}

.pricing-card {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.price-range {
    font-size: 3.5em;
    font-weight: 800;
    color: var(--secondary);
    margin: 20px 0;
}

.price-range span {
    color: var(--primary);
    font-size: 0.6em;
}

.price-details {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.price-features {
    text-align: left;
    margin: 30px 0;
    list-style: none;
    padding: 0;
}

.price-features li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 1.1em;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.3em;
}

/* ==========================================
   Social Proof
   ========================================== */
.social-proof {
    padding: 80px 20px;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin: 50px 0;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin: 0 auto 15px;
}

.stat-number {
    font-size: 3.5em;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2em;
    color: #666;
}

.testimonial {
    max-width: 800px;
    margin: 40px auto;
    background: var(--light);
    padding: 40px;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    position: relative;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    font-size: 1.2em;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    margin-top: 40px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--secondary);
}

/* ==========================================
   CTA Final & Form
   ========================================== */
.cta-final {
    background: linear-gradient(135deg, var(--secondary), #7b2cbf);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 40px auto 0;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
}

.form-group label i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
    font-family: inherit;
}

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

.help-text {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
}

.submit-button {
    width: 100%;
    background: var(--primary);
    color: var(--dark);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(42, 210, 197, 0.4);
}

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

.submit-button i {
    width: 24px;
    height: 24px;
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.alert ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

/* ==========================================
   WhatsApp Float
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-button {
    background: #25D366;
    color: white;
    padding: 20px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1em;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-button i {
    width: 28px;
    height: 28px;
}

/* ==========================================
   Footer
   ========================================== */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
}

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

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

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

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

    .hero .highlight {
        font-size: 1.4em;
    }

    .cta-group {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2em;
    }

    .price-range {
        font-size: 2.5em;
    }

    .whatsapp-button span {
        display: none;
    }

    .whatsapp-button {
        padding: 18px;
        border-radius: 50%;
    }

    .form-container {
        padding: 25px;
    }
}
