:root {
    --primary: #2ea44f;
    --primary-hover: #22863a;
    --bg-light: #dcebf5;
    --bg-white: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #5a6c7d;
    --text-accent: #20509e;
    --text-light: #899ab0;
    --danger: #d73a49;
    --success: #28a745;
    --warning: #f1c40f;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-accent);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-top: 0;
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    font-size: 1.05rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: var(--text-accent);
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
    text-decoration: underline;
}

strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Navbar */
.navbar {
    background-color: var(--bg-light);
    padding: 1.5rem 0;
}

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

.nav-links a {
    margin-left: 2rem;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background-color: var(--bg-light);
    position: relative;
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-illustration {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Search Card */
.search-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
    transform: translateY(0);
    transition: var(--transition);
}

.search-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.card-header h2 {
    margin: 0;
    font-size: 1.5rem;
    border: none;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.search-form input {
    padding: 1rem 1.2rem;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.search-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 164, 79, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none !important;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 164, 79, 0.3);
    color: white;
}

.btn-download {
    background-color: var(--primary);
    color: white;
    width: 100%;
    margin-bottom: 1rem;
    max-width: 600px;
}

.btn-download:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 164, 79, 0.3);
    color: white;
}

.download-text {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.rating-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Illustration Mockups */
.phone-mockup {
    width: 240px;
    height: 480px;
    background-color: var(--text-accent);
    border-radius: 30px;
    position: relative;
    padding: 20px;
    box-shadow: 20px 20px 60px rgba(32, 80, 158, 0.2);
    animation: float 6s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    border-radius: 12px;
}

.phone-home {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.sim-card-floating {
    position: absolute;
    top: 50%;
    right: -80px;
    width: 120px;
    height: 160px;
    background-color: #ff8c00;
    border-radius: 16px;
    border-top-right-radius: 40px;
    padding: 15px;
    box-shadow: 10px 10px 30px rgba(255, 140, 0, 0.3);
    z-index: 10;
    transform: translateY(-50%);
    animation: float-alt 5s ease-in-out infinite alternate;
}

.sim-chip {
    width: 100%;
    height: 80px;
    background-color: #ffcc00;
    border-radius: 8px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chip-grid {
    width: 80%;
    height: 80%;
    background-image: 
        linear-gradient(rgba(0,0,0,0.1) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0,0,0,0.1) 2px, transparent 2px);
    background-size: 20px 20px;
}

.illustration-text {
    margin-top: 3rem;
    text-align: center;
    max-width: 300px;
}

.illustration-text h3 {
    font-size: 1.8rem;
    color: #4a4a4a;
    font-style: italic;
    margin-bottom: 0;
}

.illustration-text h4 {
    font-size: 2.2rem;
    color: #ff8c00;
    font-style: italic;
    margin-top: -5px;
    margin-bottom: 1rem;
}

.hero-bg-diagonal {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--bg-white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 1;
}

/* Stats Section */
.stats-section {
    padding: 2rem 0;
    background-color: var(--bg-white);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--card-shadow);
    transform: translateY(-80px);
    position: relative;
    z-index: 10;
}

.stat-card {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 3rem;
    color: var(--text-accent);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-accent);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background-color: #e1e4e8;
}

/* Content Layout */
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: -30px;
}

.alert-box {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.alert-box.danger {
    background-color: #f8d7da;
    border-left-color: #dc3545;
}

.alert-box.info {
    background-color: #cce5ff;
    border-left-color: #004085;
}

.highlight-link {
    display: block;
    background-color: #e8f4fd;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin: 1rem 0;
}

.highlight-link:before {
    content: "📌 ";
}

.code-block {
    background-color: #f6f8fa;
    border: 1px solid #e1e4e8;
    padding: 1rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.95rem;
    margin: 1rem 0;
    overflow-x: auto;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0 2.5rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e1e4e8;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--text-accent);
    border-bottom: 2px solid #e1e4e8;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f8f9fa;
}

/* FAQs */
.faq-container {
    margin-top: 2rem;
}

.faq-item {
    border-bottom: 1px solid #e1e4e8;
    padding: 1rem 0;
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-accent);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-question.active:after {
    content: "−";
}

.faq-answer {
    margin-top: 1rem;
    display: none;
    color: var(--text-muted);
}

.faq-answer.show {
    display: block;
}

/* Footer */
footer {
    background-color: var(--text-accent);
    color: white;
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-content h3 {
    color: white;
    border-bottom: none;
    margin-top: 0;
}

.footer-content p, .footer-content li {
    color: #cbd5e1;
}

.footer-content a {
    color: #cbd5e1;
}

.footer-content a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #cbd5e1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes float-alt {
    0% { transform: translateY(-50%) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-60%) translateX(10px) rotate(5deg); }
    100% { transform: translateY(-50%) translateX(0px) rotate(0deg); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-illustration {
        margin-top: 4rem;
        width: 100%;
    }

    .hero-bg-diagonal {
        height: 100px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 2rem;
        transform: translateY(-40px);
        padding: 2rem;
    }
    
    .stat-divider {
        width: 80%;
        height: 1px;
    }

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

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(236, 245, 250, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    display: flex; /* keep flex for animation, opacity handles hiding */
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: translateY(0);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-overlay.hidden .modal-content {
    transform: translateY(-20px);
}

/* Loading Modal */
.pulsing-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(32, 114, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.inner-circle {
    width: 30px;
    height: 30px;
    background-color: #2072ff;
    border-radius: 50%;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(32, 114, 255, 0.4); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 20px rgba(32, 114, 255, 0); }
    100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(32, 114, 255, 0); }
}

.countdown-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f0f7ff;
    color: #2072ff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.countdown-badge .dot {
    width: 8px;
    height: 8px;
    background-color: #2072ff;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #2072ff;
    width: 0%;
    transition: width 0.1s linear;
}

/* Services Modal */
.services-modal {
    padding: 1.5rem;
    text-align: left;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
}

.close-btn:hover {
    color: #333;
}

.services-list-modal li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: center;
}

.check-icon {
    color: #28a745;
    margin-right: 10px;
    font-weight: bold;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

.floating-whatsapp svg {
    width: 35px;
    height: 35px;
}

/* Result Section Services Grid */
.service-item {
    padding: 1rem;
    border: 1px solid #e9ecef;
    font-size: 0.85rem;
    color: #333;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.service-item .circle-num {
    background-color: #28a745;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    margin-right: 10px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}

