/* Modern Full-Width SMS Gateway Website - Inspired by Industry Leaders */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Full Width Container */
.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

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

/* Top Banner */
.top-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.top-banner p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-section h1 {
    font-size: 28px;
    font-weight: 800;
    color: #333;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-section .tagline {
    color: #666;
    font-size: 14px;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Navigation */
.nav {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.nav a {
    color: #495057;
    text-decoration: none;
    padding: 15px 20px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover,
.nav a.current {
    color: #667eea;
    background: #ffffff;
}

.nav a.current:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding: 80px 0;
    background: transparent;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

/* Content Area */
.content {
    background: #ffffff;
}

.content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 40px 0 20px 0;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.content h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

.content p {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 20px;
}

.content ul, .content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content li {
    margin-bottom: 10px;
    color: #4a4a4a;
    line-height: 1.6;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card h3:before {
    content: '●';
    color: #667eea;
    font-size: 16px;
}

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

.sidebar-card li {
    margin-bottom: 12px;
    padding: 0;
}

.sidebar-card a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.sidebar-card a:before {
    content: '→';
    color: #667eea;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.sidebar-card a:hover {
    color: #667eea;
    padding-left: 8px;
}

.sidebar-card a:hover:before {
    transform: translateX(3px);
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.trust-badge {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.trust-badge .icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.trust-badge .text {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin: 80px 0;
    border-radius: 15px;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: #ffffff;
    color: #667eea;
    border: 2px solid #ffffff;
}

.cta-button.secondary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 80px 0 40px;
    margin-top: 80px;
}

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

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-section p {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-section .support-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.footer-section .support-info p {
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-section .support-info a {
    color: #667eea;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.social-links a {
    color: #999;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #667eea;
}

/* Contact Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal .panel {
    background: white;
    padding: 50px;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal h3 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.modal label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

.modal input,
.modal textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    margin-bottom: 25px;
    background: #ffffff;
}

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

.modal button {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 15px;
    font-size: 16px;
}

.modal button[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modal button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modal button[type="button"] {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #e9ecef;
}

.modal button[type="button"]:hover {
    background: #e9ecef;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}

/* Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.sticky-cta.show {
    transform: translateY(0);
}

.sticky-cta .cta-button {
    padding: 12px 24px;
    font-size: 14px;
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1a1a1a;
}

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

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

th, td {
    padding: 20px 25px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

tr:hover {
    background: #f8f9fa;
}

/* Code Blocks */
pre, code {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 25px;
    border-radius: 12px;
    overflow-x: auto;
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #333;
}

code {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    background: #f8f9fa;
    color: #e83e8c;
    border: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container-inner {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 0;
    }
    
    .nav a {
        padding: 12px 15px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content .subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sidebar {
        position: static;
        order: -1;
    }
    
    .main-content {
        padding: 60px 0;
    }
    
    .content h1 {
        font-size: 28px;
    }
    
    .content h2 {
        font-size: 24px;
    }
    
    .trust-badges {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .cta-section {
        padding: 60px 20px;
        margin: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-float {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float a {
        font-size: 20px;
    }
    
    .sticky-cta {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .modal .panel {
        padding: 40px 30px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content .subtitle {
        font-size: 16px;
    }
    
    .content h1 {
        font-size: 24px;
    }
    
    .content h2 {
        font-size: 20px;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content > * {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
/* --- Refactored Common Styles --- */

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: white; }
.text-dark { color: #1a1a1a; }
.text-gray { color: #4a5568; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.w-full { width: 100%; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* Grid Systems */
.grid-gap-2 { gap: 2rem; }
.grid-gap-3 { gap: 3rem; }

.grid-responsive-300 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-responsive-250 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-responsive-200 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Hero Sections (Page specific) */
.page-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    color: white;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.cta-box h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

/* Lists */
.list-clean {
    list-style: none;
    padding: 0;
}

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

.list-check li {
    margin-bottom: 1rem;
    padding-left: 1.8rem;
    position: relative;
}

.list-check li::before {
    content: '✓';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Page Styles (Previously inline) */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-method-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-form-wrapper {
    background: #f7fafc;
    padding: 3rem;
    border-radius: 1rem;
    margin: 3rem 0;
}

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

@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .captcha-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
}
