/* ===== Variables ===== */
:root {
    --primary: #0B2A4A;        /* Deep navy */
    --primary-light: #1E3A5F;
    --accent: #FF6B4A;          /* Vibrant coral */
    --accent-hover: #e55a3a;
    --gray-bg: #F8F9FC;
    --gray-border: #E5E7EB;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --star-yellow: #FFB800;
    --shadow-sm: 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --border-radius-card: 20px;
    --border-radius-badge: 40px;
}

/* ===== Base ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
}

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

/* ===== Header / Navbar ===== */
.navbar {
    background: var(--primary) !important;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--white) !important;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--accent);
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent) !important;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 0;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Trust badges */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 8px 18px;
    border-radius: var(--border-radius-badge);
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Search bar */
.search-container {
    max-width: 600px;
    margin: 30px 0;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 16px 24px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.search-container input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255,107,74,0.2);
}

.search-container button {
    position: absolute;
    right: 8px;
    top: 8px;
    background: var(--accent);
    border: none;
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.2s;
}

.search-container button:hover {
    background: var(--accent-hover);
}

/* Hero features */
.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.hero-feature span:first-child {
    font-size: 1.5rem;
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin-top: 10px;
}

.text-center .section-title:after {
    margin-left: auto;
    margin-right: auto;
}

/* ===== Plan Cards ===== */
.plan-card {
    background: var(--white);
    border-radius: var(--border-radius-card);
    padding: 24px;
    border: 1px solid var(--gray-border);
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.plan-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.stars {
    color: var(--star-yellow);
    letter-spacing: 2px;
    font-size: 1rem;
}

.review-count {
    color: var(--text-light);
}

.plan-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
    line-height: 1.3;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.plan-features li:before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.plan-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

/* ===== Buttons ===== */
.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255,107,74,0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* ===== Testimonials ===== */
.testimonial-section {
    background: var(--gray-bg);
    padding: 80px 0;
    margin: 60px 0;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform 0.2s;
}

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

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    margin: 20px 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
}

/* ===== How It Works Steps ===== */
.step-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: var(--border-radius-card);
    border: 1px solid var(--gray-border);
    height: 100%;
    transition: all 0.2s;
}

.step-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 14px -6px rgba(255,107,74,0.3);
}

.step-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-light);
}

/* ===== Device Compatibility ===== */
.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.device-item {
    background: white;
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.2s;
}

.device-item:hover {
    border-color: var(--accent);
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}

.device-item img {
    height: 48px;
    width: auto;
    margin-bottom: 12px;
    opacity: 0.8;
}

.device-item p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Activation Steps ===== */
.activation-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--gray-border);
    transition: all 0.2s;
}

.activation-step:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.activation-step h5 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.activation-step p {
    color: var(--text-light);
    margin: 0;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer a {
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}

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

.footer h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.footer ul li {
    margin-bottom: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .lead {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .search-container button {
        position: static;
        width: 100%;
        margin-top: 10px;
    }
    .trust-badge {
        display: block;
        margin-right: 0;
        text-align: center;
    }
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}
.breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
}
.breadcrumb-item.active {
    color: var(--text-light);
}

/* Alerts */
.alert-success {
    background: rgba(201, 169, 89, 0.1);
    border: 1px solid var(--secondary);
    color: var(--primary);
    border-radius: 10px;
}
.alert-danger {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
    border-radius: 10px;
}
.alert-info {
    background: #e7f3ff;
    border: 1px solid #b8daff;
    color: #004085;
    border-radius: 10px;
}

/* Badges */
.badge-success {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 50px;
}
.badge-secondary {
    background: var(--gray-medium);
    color: var(--text-dark);
}

/* Tables */
.table {
    border-radius: 16px;
    overflow: hidden;
}
.table thead th {
    background: var(--gray-bg);
    font-weight: 600;
    color: var(--primary);
    border-bottom: 2px solid var(--gray-border);
}
.table tbody tr:hover {
    background: rgba(201, 169, 89, 0.03);
}

/* List group modifications */
.list-group-flush .list-group-item {
    border-bottom: 1px solid var(--gray-border);
    padding: 12px 0;
}