/* Landing Page Styles - Mobile Optimized */

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

:root {
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #764ba2;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-dark: #1a1a2e;
    --text-medium: #4a4a6a;
    --text-light: #7a7a9a;
    --bg-light: #f8f9fc;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(102, 126, 234, 0.08);
    --shadow-md: 0 4px 20px rgba(102, 126, 234, 0.12);
    --shadow-lg: 0 8px 40px rgba(102, 126, 234, 0.16);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-light);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

/* Buttons - Mobile Optimized */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 52px;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-primary:active {
    transform: scale(0.98);
}

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

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

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

/* Navigation - Mobile First */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo img {
    height: 28px;
}

.nav-links {
    display: none;
}

.nav-actions {
    display: none;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: slideDown 0.3s ease;
}

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

.mobile-menu a {
    padding: 16px 20px;
    color: var(--text-medium);
    font-weight: 500;
    border-radius: var(--radius-sm);
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.mobile-menu .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.mobile-menu .nav-actions .btn {
    width: 100%;
}

/* Hero Section - Mobile Optimized */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 60px;
    background: var(--bg-light);
    overflow: hidden;
}

.hero-bg {
    display: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 100%;
}

.hero-badge {
    display: inline-flex;
    padding: 10px 20px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.3;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 40px;
}

.hero-actions .btn {
    width: 100%;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 16px 12px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
}

/* Phone Mockup - Hidden on Mobile */
.hero-visual {
    display: none;
}

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    max-width: 100%;
    margin: 0 auto 40px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 15px;
    color: var(--text-medium);
}

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

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 60px 0;
    background: var(--bg-light);
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    max-width: 100%;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 320px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-medium);
    font-size: 14px;
}

.step-connector {
    display: none;
}

.integration-code {
    max-width: 100%;
    background: var(--text-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 0 20px;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
}

.code-header span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.copy-btn {
    padding: 8px 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

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

.integration-code pre {
    padding: 16px;
    margin: 0;
    overflow-x: auto;
}

.integration-code code {
    color: #e6e6e6;
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 12px;
    line-height: 1.6;
}

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

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.pricing-card.featured {
    background: var(--white);
    border: 2px solid var(--primary);
    transform: none;
}

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

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-header h3 {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.pricing-header p {
    color: var(--text-medium);
    font-size: 13px;
}

.pricing-price {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-price .currency {
    font-size: 20px;
    font-weight: 600;
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-dark);
}

.pricing-price .period {
    color: var(--text-light);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-medium);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
}

.pricing-features li.disabled {
    opacity: 0.5;
}

.pricing-features li.disabled::before {
    content: "✕";
    color: var(--text-light);
}

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

/* CTA Section */
.cta {
    padding: 60px 20px;
    background: var(--gradient);
    text-align: center;
}

.cta-content {
    max-width: 100%;
}

.cta-content h2 {
    font-size: 26px;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
    margin: 0 auto;
}

.cta-actions .btn {
    width: 100%;
}

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

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

/* Contact Section */
.contact {
    padding: 60px 0;
    background: var(--white);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.contact-icon {
    font-size: 24px;
}

.contact-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-medium);
    font-size: 14px;
}

.contact-form {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    margin-bottom: 16px;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 20px 24px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-brand p {
    margin-bottom: 16px;
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.3s;
}

.social-link:hover {
    background: var(--primary);
}

.footer-links h4 {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 14px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 28px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .nav-actions {
        display: flex;
        gap: 12px;
    }

    .nav-actions .btn {
        padding: 10px 20px;
        font-size: 14px;
        min-height: auto;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-bg {
        display: block;
        position: absolute;
        inset: 0;
        overflow: hidden;
        z-index: 0;
    }

    .gradient-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.5;
    }

    .orb-1 {
        width: 600px;
        height: 600px;
        background: var(--primary);
        top: -200px;
        right: -100px;
        animation: float 8s ease-in-out infinite;
    }

    .orb-2 {
        width: 500px;
        height: 500px;
        background: var(--secondary);
        bottom: -150px;
        left: -100px;
        animation: float 10s ease-in-out infinite reverse;
    }

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

    .hero-container {
        flex-direction: row;
        text-align: left;
        gap: 48px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 17px;
        max-width: 520px;
    }

    .hero-actions {
        flex-direction: row;
        width: auto;
        max-width: none;
    }

    .hero-actions .btn {
        width: auto;
    }

    .hero-stats {
        width: auto;
        max-width: none;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
    }

    .phone-mockup {
        perspective: 1000px;
    }

    .phone-frame {
        width: 260px;
        height: 520px;
        background: var(--text-dark);
        border-radius: 36px;
        padding: 10px;
        box-shadow: var(--shadow-lg);
        animation: floatPhone 6s ease-in-out infinite;
    }

    @keyframes floatPhone {
        0%, 100% { transform: translateY(0) rotateY(-5deg); }
        50% { transform: translateY(-15px) rotateY(5deg); }
    }

    .features {
        padding: 80px 0;
    }

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

    .feature-card {
        padding: 28px;
        text-align: left;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .steps {
        flex-direction: row;
        justify-content: center;
    }

    .step-connector {
        display: block;
        width: 60px;
        height: 2px;
        background: var(--primary);
        opacity: 0.3;
    }

    .pricing {
        padding: 80px 0;
    }

    .pricing-grid {
        flex-direction: row;
        gap: 24px;
    }

    .pricing-card {
        padding: 32px;
    }

    .pricing-price .amount {
        font-size: 52px;
    }

    .cta {
        padding: 80px 0;
    }

    .cta-content h2 {
        font-size: 38px;
    }

    .cta-actions {
        flex-direction: row;
        max-width: none;
    }

    .cta-actions .btn {
        width: auto;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 48px;
    }

    .form-row {
        flex-direction: row;
        gap: 16px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 48px;
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .hero-container {
        gap: 64px;
    }

    .section-header h2 {
        font-size: 42px;
    }

    .steps {
        gap: 16px;
    }

    .step-connector {
        width: 80px;
    }

    .features-grid {
        gap: 30px;
    }

    .pricing-grid {
        gap: 30px;
    }

    .pricing-card.featured {
        transform: scale(1.05);
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 56px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .feature-card:hover {
        transform: none;
    }

    .pricing-card:hover {
        transform: none;
    }
}

