/* ============================================================================
   GETWEBSITES.IN - Stylesheet
   Mobile-first, high-performance CSS
   ============================================================================ */

/* ============================================================================
   RESET & BASE
   ============================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --text: #1e293b;
    --text-light: #475569;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg-gray: #f8fafc;
    --bg-white: #ffffff;
    --whatsapp: #25d366;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --spacing: 8px;
    --max-width: 1200px;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================================================
   UTILITIES
   ============================================================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: calc(var(--spacing) * 2);
    color: var(--text);
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing) * 4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing) * 1.5);
    padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 3);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    text-align: center;
    justify-content: center;
    line-height: 1.2;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: calc(var(--spacing) * 2) calc(var(--spacing) * 4);
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ============================================================================
   HEADER
   ============================================================================ */
.header {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    height: var(--header-height);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo img {
    height: 36px;
    width: auto;
}

.nav {
    display: none;
    gap: calc(var(--spacing) * 3);
}

.nav-link {
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: calc(var(--spacing) * 3);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
    padding: calc(var(--spacing) * 8) 0 calc(var(--spacing) * 6);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing) * 3);
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing) * 4);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing) * 2);
    justify-content: center;
    margin-bottom: calc(var(--spacing) * 4);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing) * 2);
    justify-content: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: var(--spacing);
}

.hero-trust span::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

/* ============================================================================
   INTRO
   ============================================================================ */
.intro {
    padding: calc(var(--spacing) * 6) 0;
    background: var(--bg-white);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ============================================================================
   SERVICES
   ============================================================================ */
.services {
    padding: calc(var(--spacing) * 8) 0;
    background: var(--bg-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 3);
}

.service-card {
    background: var(--bg-white);
    padding: calc(var(--spacing) * 3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--spacing) * 2);
    color: var(--primary);
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing);
    color: var(--text);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================================================
   PACKAGES
   ============================================================================ */
.packages {
    padding: calc(var(--spacing) * 8) 0;
    background: var(--bg-white);
}

.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 4);
    margin-bottom: calc(var(--spacing) * 4);
}

.package-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: calc(var(--spacing) * 4);
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.package-popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-white);
    padding: calc(var(--spacing) * 0.75) calc(var(--spacing) * 2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing) * 2);
    color: var(--text);
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing);
    margin-bottom: calc(var(--spacing) * 3);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.package-features {
    list-style: none;
    margin-bottom: calc(var(--spacing) * 4);
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--spacing) * 1.5);
    margin-bottom: calc(var(--spacing) * 2);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-light);
}

.package-features svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--success);
}

.packages-note {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    padding: calc(var(--spacing) * 3);
    background: var(--bg-gray);
    border-radius: var(--radius);
}

/* ============================================================================
   PROCESS
   ============================================================================ */
.process {
    padding: calc(var(--spacing) * 8) 0;
    background: var(--bg-gray);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 4);
}

.process-card {
    background: var(--bg-white);
    padding: calc(var(--spacing) * 4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.process-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto calc(var(--spacing) * 2);
}

.process-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing);
    color: var(--text);
}

.process-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================================================
   TECH
   ============================================================================ */
.tech {
    padding: calc(var(--spacing) * 8) 0;
    background: var(--bg-white);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing) * 2);
    justify-content: center;
    margin-bottom: calc(var(--spacing) * 3);
}

.tech-badge {
    padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 3);
    background: var(--bg-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
}

.tech-note {
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.testimonials {
    padding: calc(var(--spacing) * 8) 0;
    background: var(--bg-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 4);
}

.testimonial-card {
    background: var(--bg-white);
    padding: calc(var(--spacing) * 4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: calc(var(--spacing) * 2);
    right: calc(var(--spacing) * 2);
    color: var(--primary);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing) * 3);
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: calc(var(--spacing) * 0.5);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================================================
   FAQ
   ============================================================================ */
.faq {
    padding: calc(var(--spacing) * 8) 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: calc(var(--spacing) * 2);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: calc(var(--spacing) * 2.5) calc(var(--spacing) * 3);
    background: var(--bg-white);
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing) * 2);
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--bg-gray);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 calc(var(--spacing) * 3) calc(var(--spacing) * 3);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ============================================================================
   CONTACT
   ============================================================================ */
.contact {
    padding: calc(var(--spacing) * 8) 0;
    background: var(--bg-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 5);
    max-width: 900px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form-wrap h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing) * 2);
    color: var(--text);
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing) * 3);
}

.contact-details {
    margin-top: calc(var(--spacing) * 3);
    padding: calc(var(--spacing) * 3);
    background: var(--bg-white);
    border-radius: var(--radius);
}

.contact-details p {
    margin-bottom: calc(var(--spacing) * 1.5);
}

.contact-details p:last-child {
    margin-bottom: 0;
}

/* ============================================================================
   FORM
   ============================================================================ */
.contact-form {
    background: var(--bg-white);
    padding: calc(var(--spacing) * 4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: calc(var(--spacing) * 3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 2);
    margin-bottom: calc(var(--spacing) * 3);
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: var(--spacing);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: calc(var(--spacing) * 1.5);
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    transition: border-color 0.2s ease;
}

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

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

.alert {
    padding: calc(var(--spacing) * 2);
    border-radius: var(--radius);
    margin-bottom: calc(var(--spacing) * 3);
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 1.5);
    font-size: 0.9375rem;
}

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

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

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    padding: calc(var(--spacing) * 6) 0;
    background: var(--text);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.footer-content p {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: calc(var(--spacing) * 1.5);
}

.footer-content p:last-child {
    margin-bottom: 0;
}

.footer-copy {
    font-weight: 500;
}

.footer-ids {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ============================================================================
   FLOATING WHATSAPP
   ============================================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

/* ============================================================================
   RESPONSIVE - TABLET
   ============================================================================ */
@media (min-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

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

/* ============================================================================
   RESPONSIVE - DESKTOP
   ============================================================================ */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .nav {
        display: flex;
    }

    .mobile-toggle {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 5fr 7fr;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
