/* ============================================
   MesajPro - Main Stylesheet
   SoenSMS Style Clone
   ============================================ */

/* CSS Variables */
:root {
    --primary: #3eb8b1;
    --primary-dark: #2d9a94;
    --secondary: #2d3e50;
    --dark: #1a2634;
    --dark-lighter: #2d3e50;
    --light: #f5f7fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --purple: #8b5cf6;
    --blue-header: #6b8cce;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --font-main: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 50px;
    font-size: 16px;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    background: var(--dark);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 24px;
    font-weight: 600;
}

.logo-text {
    color: var(--white);
}

.logo-highlight {
    color: var(--primary);
}

.logo-icon {
    color: var(--primary);
    font-size: 20px;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: var(--dark);
    padding: 150px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    color: var(--white);
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img {
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.floating-badge {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    font-size: 16px;
}

.badge-1 {
    top: 20%;
    left: 0;
    background: var(--primary);
}

.badge-2 {
    top: 50%;
    right: 0;
    background: var(--purple);
    animation-delay: 1s;
}

.badge-3 {
    bottom: 20%;
    left: 10%;
    background: #e91e63;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header.light h2 {
    color: var(--gray-light);
}

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

.header-line .line {
    width: 80px;
    height: 2px;
    background: var(--gray-light);
}

.header-line.light .line {
    background: var(--gray);
}

.header-line i {
    color: var(--purple);
    font-size: 14px;
}

.header-line.small {
    margin-top: 15px;
}

.header-line.small .line {
    width: 60px;
}

.section-header p {
    font-size: 16px;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 32px;
    color: var(--secondary);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

.features-note {
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: 80px 0;
    background: var(--white);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.toggle-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

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

.toggle-btn:hover:not(.active) {
    background: rgba(62, 184, 177, 0.1);
}

.pricing-content.hidden {
    display: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-header {
    background: var(--secondary);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
}

.pricing-header.otp {
    background: var(--secondary);
}

.pricing-header.email {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.pricing-header h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price .currency {
    font-size: 24px;
    font-weight: 500;
}

.price .amount {
    font-size: 48px;
    font-weight: 700;
}

.price .count {
    font-size: 14px;
    opacity: 0.8;
    margin-left: 5px;
}

.pricing-body {
    padding: 30px;
    text-align: center;
}

.pricing-body ul {
    margin-bottom: 25px;
}

.pricing-body ul li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--gray);
    border-bottom: 1px solid var(--gray-light);
}

.pricing-body ul li:last-child {
    border-bottom: none;
}

/* Refund Feature Styling */
.refund-feature {
    color: #10ac84 !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #e8f8f5 0%, #d1f2eb 100%);
    padding: 12px 15px !important;
    border-radius: 8px;
    margin: 10px 0 !important;
    border: 2px solid #10ac84 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.refund-icon {
    animation: rotate-refund 2s linear infinite;
    font-size: 16px;
}

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

.refund-feature:hover .refund-icon {
    animation: rotate-refund 0.5s linear infinite;
}

.otp-title {
    text-align: center;
    font-size: 24px;
    color: var(--secondary);
    margin: 40px 0 30px;
}

.pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    margin-top: 20px;
}

.pricing-note strong {
    color: var(--primary);
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 80px 0;
    background: var(--light);
}

.about-intro {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray);
    max-width: 1000px;
    margin: 0 auto 50px;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-icon {
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
}

.about-icon i {
    font-size: 24px;
    color: var(--purple);
    margin-right: 10px;
}

.about-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--purple);
    display: inline;
}

.about-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
    margin-top: 15px;
}

.why-us {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.why-us-image img {
    max-width: 300px;
    border-radius: 10px;
}

.why-us-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 25px;
}

.why-us-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

.why-us-content ul li i {
    color: var(--primary);
    margin-top: 5px;
}

.why-us-content ul li strong {
    color: var(--secondary);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 80px 0;
    background: var(--dark);
}

.section-header.light p {
    color: var(--gray);
}

.contact-info {
    color: var(--gray-light);
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--primary);
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-note {
    color: #ff6b6b;
    font-size: 14px;
}

.contact-form {
    max-width: 800px;
    margin: 40px auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-size: 14px;
    font-family: var(--font-main);
    background: var(--dark-lighter);
    color: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

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

.contact-form .btn-submit {
    display: block;
    margin: 30px auto 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.logo-small {
    color: var(--primary);
}

.logo-highlight-small {
    color: var(--white);
    font-weight: 700;
}

.footer p {
    color: var(--gray);
    font-size: 14px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .why-us-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .features-grid,
    .pricing-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-toggle {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .price .amount {
        font-size: 36px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.hidden {
    display: none !important;
}

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

.mb-0 {
    margin-bottom: 0;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ============================================
   Sponsors Section
   ============================================ */
.sponsors {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 20px;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
