/* ===============================================
   OTP SMS PAGE STYLES
   =============================================== */

/* Hero Section */
.otp-hero-section {
    padding: 50px 0;
    background: #fff;
}

/* OTP Hero Card */
.otp-hero-card {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
}

.otp-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 192, 0.05) 0%, rgba(0, 123, 255, 0.05) 100%);
    z-index: 1;
}

.otp-hero-card .card-body {
    position: relative;
    z-index: 2;
    padding: 40px;
}

.otp-hero-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.otp-hero-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.otp-hero-features {
    color: #6c757d;
    line-height: 1.9;
    margin-bottom: 0;
}

.otp-hero-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.otp-hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.otp-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* OTP Description Card */
.otp-description-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.otp-description-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.otp-description-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.otp-description-card .card-body {
    padding: 2rem;
}

.otp-description-text {
    color: #495057;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 400;
}

.otp-description-features {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 1rem;
}

.otp-description-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0;
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.otp-description-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

/* OTP Flow Card */
.otp-flow-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.otp-flow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.otp-flow-card .card-body {
    padding: 2rem;
}

.otp-flow-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.otp-flow-steps {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 20px;
}

.otp-flow-steps li {
    margin-bottom: 10px;
    position: relative;
}

.otp-flow-steps li::marker {
    color: #007bff;
    font-weight: bold;
    font-size: 1.1rem;
}

.otp-api-button {
    display: inline-block;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.otp-api-button:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.otp-flow-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* OTP Steps Card */
.otp-steps-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.otp-steps-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.otp-steps-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.otp-steps-card .card-body {
    padding: 2rem;
}

.otp-steps-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
    text-align: center;
}

.otp-steps-list {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 0;
    padding-left: 20px;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    font-weight: 400;
}

.otp-steps-list li {
    margin-bottom: 12px;
    position: relative;
    font-size: 1rem;
}

.otp-steps-list li::marker {
    color: #007bff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Features Section */
.otp-features-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.otp-feature-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.otp-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.otp-feature-icon {
    height: 40px;
    margin-bottom: 15px;
}

.otp-feature-title {
    font-weight: 600;
    color: #060394;
    margin-bottom: 15px;
}

.otp-feature-description {
    color: #495057;
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Flow Section */
.otp-flow-section {
    padding: 50px 0;
    background: #fff;
}

.otp-flow-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,.08); */
}

.otp-flow-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.otp-flow-steps {
    color: #6c757d;
    line-height: 1.9;
    margin-bottom: 20px;
}

.otp-flow-steps li {
    margin-bottom: 10px;
}

.otp-api-button {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.otp-api-button:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,.3);
}

/* FAQ Section */
.otp-faq-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.otp-faq-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 30px;
}

.otp-faq-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.otp-faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.otp-faq-question {
    font-weight: 600;
    color: #060394;
    margin-bottom: 15px;
}

.otp-faq-answer {
    color: #495057;
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Breadcrumb Section */
.otp-breadcrumb-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.otp-breadcrumb-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.otp-breadcrumb-title {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.otp-breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.otp-breadcrumb .breadcrumb-item {
    color: rgba(255,255,255,0.8);
}

.otp-breadcrumb .breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.otp-breadcrumb .breadcrumb-item a:hover {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

.otp-breadcrumb .breadcrumb-item.active {
    color: white;
}

/* Modal Styles */
.otp-modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

.otp-modal-header {
    border-bottom: none;
    padding: 20px 20px 0;
}

.otp-modal-body {
    padding: 20px;
    text-align: center;
}

.otp-modal-icon {
    font-size: 57px;
    color: #4a5fd6;
    margin-bottom: 20px;
}

.otp-modal-title {
    margin-top: 24px;
    color: #4a4646;
    font-weight: 600;
    margin-bottom: 15px;
}

.otp-modal-text {
    color: #6c757d;
    margin-bottom: 20px;
}

.otp-coupon {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
}

/* Back to Top Button */
.otp-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: none;
}

.otp-back-to-top button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.otp-back-to-top button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Bubbles Animation */
.otp-bubbles-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.otp-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    animation: float 6s ease-in-out infinite;
}

.otp-bubble.x1 { left: 10%; animation-delay: 0s; }
.otp-bubble.x2 { left: 20%; animation-delay: 2s; }
.otp-bubble.x3 { left: 35%; animation-delay: 4s; }
.otp-bubble.x4 { left: 50%; animation-delay: 0s; }
.otp-bubble.x5 { left: 55%; animation-delay: 2s; }
.otp-bubble.x6 { left: 70%; animation-delay: 4s; }
.otp-bubble.x7 { left: 80%; animation-delay: 2s; }
.otp-bubble.x8 { left: 90%; animation-delay: 4s; }
.otp-bubble.x9 { left: 95%; animation-delay: 0s; }
.otp-bubble.x10 { left: 5%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .otp-hero-section,
    .otp-features-section,
    .otp-flow-section,
    .otp-faq-section {
        padding: 30px 0;
    }
    
    .otp-breadcrumb-section {
        padding: 40px 0;
    }
    
    /* OTP Hero Card Mobile */
    .otp-hero-card .card-body {
        padding: 30px 20px;
    }
    
    .otp-hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .otp-hero-image {
        max-width: 100%;
        height: auto;
        max-height: 300px;
        margin-top: 20px;
    }
    
    /* OTP Description Card Mobile */
    .otp-description-section {
        padding: 20px 0;
    }
    
    .otp-description-card .card-body {
        padding: 1.5rem;
    }
    
    .otp-description-text {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .otp-description-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .otp-description-features li {
        min-width: auto;
        font-size: 0.9rem;
        padding-left: 20px;
    }
    
    /* OTP Flow Card Mobile */
    .otp-flow-card .card-body {
        padding: 1.5rem;
    }
    
    .otp-flow-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .otp-flow-steps {
        margin-bottom: 15px;
        padding-left: 18px;
    }
    
    .otp-flow-steps li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .otp-flow-image {
        max-width: 100%;
        height: auto;
        max-height: 300px;
        margin-bottom: 20px;
    }
    
    .otp-api-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* OTP Steps Card Mobile */
    .otp-steps-section {
        padding: 20px 0;
    }
    
    .otp-steps-card .card-body {
        padding: 1.5rem;
    }
    
    .otp-steps-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .otp-steps-list {
        padding-left: 18px;
    }
    
    .otp-steps-list li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .otp-faq-title {
        font-size: 1.6rem;
    }
    
    .otp-feature-card,
    .otp-faq-card {
        margin-bottom: 20px;
    }
    
    .otp-back-to-top {
        bottom: 20px;
        right: 20px;
    }
    
    .otp-back-to-top button {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .otp-hero-section,
    .otp-features-section,
    .otp-flow-section,
    .otp-faq-section {
        padding: 20px 0;
    }
    
    .otp-breadcrumb-section {
        padding: 30px 0;
    }
    
    /* OTP Hero Card Small Mobile */
    .otp-hero-card .card-body {
        padding: 25px 15px;
    }
    
    .otp-hero-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .otp-hero-description {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .otp-hero-features {
        margin-bottom: 15px;
    }
    
    .otp-hero-features li {
        font-size: 0.65rem;
        margin-bottom: 5px;
        padding-left: 16px;
    }
    
    .otp-hero-image {
        max-width: 100%;
        height: auto;
        max-height: 250px;
        margin-top: 15px;
    }
    
    /* OTP Description Card Small Mobile */
    .otp-description-section {
        padding: 15px 0;
    }
    
    .otp-description-card .card-body {
        padding: 1.2rem;
    }
    
    .otp-description-text {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .otp-description-features li {
        font-size: 0.85rem;
        padding-left: 18px;
    }
    
    /* OTP Flow Card Small Mobile */
    .otp-flow-card .card-body {
        padding: 1.2rem;
    }
    
    .otp-flow-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .otp-flow-steps {
        margin-bottom: 12px;
        padding-left: 16px;
    }
    
    .otp-flow-steps li {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .otp-flow-image {
        max-width: 100%;
        height: auto;
        max-height: 250px;
        margin-bottom: 15px;
    }
    
    .otp-api-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* OTP Steps Card Small Mobile */
    .otp-steps-section {
        padding: 15px 0;
    }
    
    .otp-steps-card .card-body {
        padding: 1.2rem;
    }
    
    .otp-steps-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .otp-steps-list {
        padding-left: 16px;
    }
    
    .otp-steps-list li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .otp-faq-title {
        font-size: 1.4rem;
    }
    
    .otp-feature-icon {
        height: 35px;
    }
    
    .otp-modal-icon {
        font-size: 45px;
    }
    
    .otp-modal-title {
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    .otp-bubbles-wrap,
    .otp-back-to-top {
        display: none !important;
    }
    
    .otp-hero-section,
    .otp-features-section,
    .otp-flow-section,
    .otp-faq-section {
        padding: 20px 0;
    }
    
    .otp-feature-card,
    .otp-faq-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
