/* ========================================
   SMSON - Custom Stylesheet
   Version: 1.0
   Description: Styles for smsOn landing page
   ======================================== */

/* ========================================
   HERO SECTION - SMSON SPECIFIC
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 140px 0 80px 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero-subheadline {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.hero-section .lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-cta-group .btn {
    min-width: 200px;
}

.hero-trust-signal {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.hero-trust-signal .text-success {
    color: var(--accent-color) !important;
}

/* Hero Image Wrapper - Phone Mockup + Dashboard */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    max-width: 300px;
    animation: float 3s ease-in-out infinite;
}

.phone-mockup img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.dashboard-preview-bg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 450px;
    opacity: 0.6;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   STICKY SUB-NAVIGATION
   ======================================== */

.smson-subnav {
    position: sticky;
    top: 76px; /* Height of main navbar */
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 0.75rem 0;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.smson-subnav.visible {
    opacity: 1;
    transform: translateY(0);
}

.subnav-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.subnav-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.subnav-link:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

.subnav-link.active {
    background: var(--accent-color);
    color: white;
}

/* Mobile subnav - horizontal scroll */
@media (max-width: 768px) {
    .subnav-links {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .subnav-links::-webkit-scrollbar {
        display: none;
    }
    
    .subnav-link {
        white-space: nowrap;
    }
}

/* ========================================
   TRUST BADGES SECTION
   ======================================== */

.trust-section {
    border-bottom: 1px solid var(--border-light);
}

.trust-badge {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.trust-badge h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.trust-badge small {
    font-size: 0.85rem;
    display: block;
}

/* ========================================
   USE CASES SECTION
   ======================================== */

.use-cases-section {
    background: white;
}

.use-case-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 58, 82, 0.15);
    border-color: var(--accent-color);
}

.use-case-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.use-case-card:hover .use-case-icon {
    transform: rotate(5deg) scale(1.08);
}

.use-case-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.use-case-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.use-case-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.use-case-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.use-case-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* ========================================
   SMS METHOD SECTIONS (WWW/Mail/File/API)
   ======================================== */

.sms-method-section {
    padding: 5rem 0;
}

.method-content {
    position: relative;
    z-index: 2;
}

.method-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.method-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.method-content .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.feature-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.feature-item i {
    margin-top: 0.25rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item code {
    background: var(--bg-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.method-visual {
    position: relative;
}

.method-visual img {
    width: 100%;
    height: auto;
}

/* Code Example Box (for SMS Mail section) */
.code-example {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-example code {
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   CODE SNIPPET CONTAINER (API Section)
   ======================================== */

.code-snippet-container {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.code-tabs {
    background: #2d2d2d;
    border-bottom: 2px solid #404040;
    margin-bottom: 0;
}

.code-tabs .nav-link {
    color: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: 0;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.code-tabs .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.code-tabs .nav-link.active {
    color: white;
    background: #1e1e1e;
    border-bottom: 2px solid var(--accent-color);
}

.code-content {
    position: relative;
}

.code-content pre {
    background: #1e1e1e;
    margin: 0;
    padding: 2rem;
    border-radius: 0;
    color: #d4d4d4;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-content code {
    color: #d4d4d4;
}

/* Syntax Highlighting (basic) */
.language-php .token.comment,
.language-python .token.comment {
    color: #6a9955;
}

.language-php .token.keyword,
.language-python .token.keyword {
    color: #569cd6;
}

.language-php .token.string,
.language-python .token.string {
    color: #ce9178;
}

.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.copy-btn:hover {
    opacity: 1;
}

/* ========================================
   CASE STUDIES SECTION
   ======================================== */

.case-studies-section {
    background: var(--bg-light);
}

.case-study-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 58, 82, 0.15);
    border-color: var(--accent-color);
}

.case-study-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-icon {
    transform: rotate(5deg) scale(1.08);
}

.case-study-label {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.case-study-industry {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.case-study-content {
    margin: 1.5rem 0;
}

.case-study-content .challenge,
.case-study-content .solution,
.case-study-content .result {
    padding: 1rem;
    border-radius: 8px;
    background: var(--bg-light);
}

.case-study-content strong {
    display: block;
    margin-bottom: 0.5rem;
}

.case-study-quote {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
}

.case-study-quote em {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.quote-author {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: normal;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing-section {
    background: white;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 58, 82, 0.15);
    border-color: var(--accent-color);
}

.pricing-card-featured {
    border-color: var(--accent-color);
    border-width: 3px;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card-featured .pricing-header {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.pricing-body {
    padding: 2rem;
}

.price-amount {
    text-align: center;
    margin-bottom: 1rem;
}

.price-amount .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-amount .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-details {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
}

.pricing-features {
    list-style: none;
    padding: 1.5rem 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Pricing Table Section Container */
.pricing-table-section {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 16px;
}

/* Pricing Table Wrapper - Centers and limits width */
.pricing-table-wrapper {
    max-width: 450px;
    margin: 0 auto;
}

/* Pricing Table - Base styles */
.pricing-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
}

/* Pricing Table - Compact 2-column version */
.pricing-table-compact thead {
    background: var(--primary-color);
    color: white;
}

.pricing-table-compact th {
    padding: 1.25rem 2rem;
    font-weight: 600;
    border: none;
    font-size: 1rem;
}

.pricing-table-compact td {
    padding: 1.25rem 2rem;
    vertical-align: middle;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
}

/* Column widths and alignment */
.pricing-table-compact th:first-child,
.pricing-table-compact td:first-child {
    width: 50%;
    text-align: left !important;
    padding-left: 2rem !important;
}

.pricing-table-compact th:last-child {
    width: 50%;
    text-align: right !important;
    padding-right: 2rem !important;
}

.pricing-table-compact td:last-child {
    width: 50%;
    text-align: right !important;
    padding-right: 2rem !important;
}
/* Hover effect on rows */
.pricing-table-compact tbody tr {
    transition: background 0.3s ease, transform 0.2s ease;
}

.pricing-table-compact tbody tr:hover {
    background: rgba(45, 212, 163, 0.05);
}

/* Highlighted row (Best value) */
.pricing-table-compact .table-success {
    background: rgba(45, 212, 163, 0.15) !important;
    font-weight: 600;
}

.pricing-table-compact .table-success:hover {
    background: rgba(45, 212, 163, 0.2) !important;
}

/* Last row - centered text for "Indywidualna wycena" */
.pricing-table-compact tbody tr:last-child td {
    text-align: center !important;
    border-bottom: none;
}

/* Additional info badges below table */
.pricing-additional-info {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.info-badge {
    max-width: 400px;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    font-size: 0.95rem;
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .pricing-table-section {
        padding: 2rem 1.5rem;
    }
    
    .pricing-table-wrapper {
        max-width: 100%;
    }
    
    .pricing-table-compact th,
    .pricing-table-compact td {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .info-badge {
        min-width: 100%;
    }
}
.info-badge {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    font-size: 0.9rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    background: var(--bg-light);
}

.accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    background: white;
}

.accordion-button {
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--accent-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a3a52'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
    background: white;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.final-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.final-cta-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.final-cta-section .cta-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SECTION HEADER (REUSABLE)
   ======================================== */

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* ========================================
   SMOOTH SCROLL BEHAVIOR
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* ========================================
   RESPONSIVE - MOBILE ADJUSTMENTS
   ======================================== */

@media (max-width: 991px) {
    /* Hero */
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-subheadline {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 100px 0 60px 0;
        min-height: auto;
    }
    
    .hero-image-wrapper {
        margin-top: 3rem;
        min-height: 400px;
    }
    
    .phone-mockup {
        max-width: 250px;
    }
    
    .dashboard-preview-bg {
        max-width: 350px;
    }
    
    /* Method sections */
    .method-content h2 {
        font-size: 2rem;
    }
    
    /* Case studies */
    .case-study-card {
        margin-bottom: 1.5rem;
    }
    
    /* Pricing */
    .pricing-card {
        margin-bottom: 1.5rem;
    }
    
    .price-amount .price {
        font-size: 2.5rem;
    }
    
    /* Section headers */
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Final CTA */
    .final-cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Hero CTAs */
    .hero-cta-group {
        flex-direction: column;
    }
    
    .hero-cta-group .btn {
        width: 100%;
        min-width: auto;
    }
    
    /* Sticky subnav */
    .smson-subnav {
        top: 70px;
    }
    
    /* Code snippet */
    .code-snippet-container {
        font-size: 0.8rem;
    }
    
    .code-content pre {
        padding: 1rem;
    }
    
    /* Pricing table */
    .pricing-table {
        font-size: 0.85rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Info badges */
    .info-badge {
        min-width: 100%;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.smooth-scroll {
    scroll-behavior: smooth;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color)) !important;
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color)) !important;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations - will be triggered by JS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   HERO PHONE MOCKUP WITH TYPING ANIMATION
   ======================================== */

.hero-phone-mockup {
    position: relative;
    width: 340px;
    height: 680px;
    margin: 0 auto;
}

/* iPhone-style frame */
.phone-frame {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 50px;
    padding: 14px;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.4),
        inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
}

/* Notch */
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

/* Screen */
.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Status bar */
.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    padding-top: 45px;
    background: rgba(255,255,255,0.95);
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 8px;
}

.status-icons i {
    font-size: 12px;
}

/* Messages header */
.messages-header {
    padding: 16px 20px 12px;
    background: transparent;
    border-bottom: none;
}

.messages-header i {
    display: none; /* ukryj strzałkę wstecz */
}

.sender-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 16px;
    border-radius: 20px;
    box-shadow: none; /* bez cienia */
    border: none; /* bez obwódki */
}

/* Avatar circle with initials */
.sender-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.sender-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}

.contact-info {
    text-align: center;
}

.contact-name {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
}

.contact-number {
    display: none; /* ukryj numer */
}

/* SMS messages container */
.sms-messages-container {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* SMS bubble */
.sms-bubble {
    background: white;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 85%;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: all 0.3s ease;
}

.sms-bubble.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.sms-text {
    margin: 0;
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.5;
    min-height: 20px;
}

.sms-time {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 6px;
    text-align: right;
}

/* Typing indicator */
.typing-indicator {
    display: none;
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    padding: 16px 20px;
    max-width: 70px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.typing-indicator.active {
    display: block;
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    margin: 0 2px;
    animation: typingDots 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDots {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Phone floating animation */
.hero-phone-mockup {
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-phone-mockup {
        width: 280px;
        height: 560px;
    }
    
    .phone-frame {
        padding: 12px;
        border-radius: 40px;
    }
    
    .phone-screen {
        border-radius: 30px;
    }
    
    .phone-notch {
        width: 150px;
        height: 25px;
    }
    
    .sms-text {
        font-size: 14px;
    }
}
/* ========================================
   SIMPLE LIGHTBOX
   ======================================== */
.simple-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: zoom-out;
}

.simple-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s;
    pointer-events: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #2dd4a3;
    transform: scale(1.2);
}

.method-visual img {
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.method-visual img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .lightbox-img { max-width: 95%; }
    .lightbox-close { top: 10px; right: 15px; font-size: 30px; }
}

/* === FIX: Przebijamy Bootstrap dla btn-secondary na stronie smsOn === */
.pricing-section .btn-secondary,
.pricing-section a.btn-secondary,
.final-cta-section .btn-secondary,
.final-cta-section a.btn-secondary {
    background: white !important;
    color: #1a3a52 !important;
    border: 2px solid #1a3a52 !important;
    text-decoration: none !important;
}

.pricing-section .btn-secondary:hover,
.pricing-section a.btn-secondary:hover,
.final-cta-section .btn-secondary:hover,
.final-cta-section a.btn-secondary:hover {
    background: #1a3a52 !important;
    color: white !important;
    border-color: #1a3a52 !important;
}

.pricing-section .btn-secondary i,
.pricing-section a.btn-secondary i,
.final-cta-section .btn-secondary i,
.final-cta-section a.btn-secondary i {
    color: inherit !important;
}