:root {
    --ts-navy: #0A1931;
    --ts-medium-blue: #1E3F66;
    --ts-teal: #40B4D1;
    --ts-text: #0a202a;
    --ts-bg: #f8fbfd;
    --ts-grey: #434b53;
    --ts-header-link-hover: #18A6A8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--ts-text);
    background: var(--ts-bg);
}

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

/* ===================== HEADER & BANNER ===================== */
header {
    background: var(--ts-navy);
    width: 100%;
    padding: 0;
}

.header-content-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-h1 {
    width: 100%;
    text-align: center;
}

.logo-h1 a {
    display: block;
    width: 100%;
}

.logo-h1 img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

/* ===================== NAVIGATION ===================== */
#navigation-bar-wrapper {
    background: white;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    gap: 2rem;
}

.nav-links a {
    color: var(--ts-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--ts-teal);
    background: var(--ts-bg);
}

.nav-links a[style*="color: var(--ts-teal)"] {
    color: var(--ts-teal) !important;
    font-weight: 600;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--ts-text);
    font: inherit;
    font-weight: 500;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    color: var(--ts-teal);
    background: var(--ts-bg);
}

.dropdown-toggle::after {
    content: " ▼";
    font-size: 0.7em;
    opacity: 0.6;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1001;
}

.dropdown.open .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--ts-text);
    text-decoration: none;
    border-bottom: none;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: var(--ts-bg);
    color: var(--ts-teal);
}

/* ===================== HERO SECTION ===================== */
.hero {
    background: var(--ts-navy);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    background: var(--ts-teal);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: var(--ts-header-link-hover);
}

/* ===================== FEATURES SECTION ===================== */
.features {
    padding: 100px 0;
    background: var(--ts-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--ts-text);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--ts-grey);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--ts-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ts-text);
}

.feature-card p {
    color: var(--ts-grey);
    line-height: 1.7;
}

/* ===================== CONTENT SECTIONS ===================== */
.content-section {
    padding: 100px 0;
}

.content-section:nth-child(even) {
    background: #f8fafc;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--ts-text);
}

.content-text p {
    font-size: 1.1rem;
    color: var(--ts-grey);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.content-text ol,
.content-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--ts-text);
}

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

.content-image > div {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--ts-teal) 0%, var(--ts-medium-blue) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cta-button {
    background: var(--ts-teal);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--ts-navy);
    transform: translateY(-2px);
}

/* ===================== USAGE WARNING STYLES ===================== */
.usage-warning {
    border-left: 4px solid;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.warning-normal {
    background: #dbeafe;
    border-color: var(--ts-teal);
    color: var(--ts-medium-blue);
}

.warning-80 {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.warning-95 {
    background: #ffedd5;
    border-color: #f97316;
    color: #9a3412;
}

.warning-limit {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.progress-bar {
    width: 100%;
    background: #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    height: 0.5rem;
}

.progress-fill {
    height: 100%;
    transition: width 0.3s;
}

/* ===================== FOOTER ===================== */
footer {
    background: var(--ts-text);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--ts-teal);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--ts-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--ts-teal);
}

.footer-bottom {
    border-top: 1px solid var(--ts-grey);
    padding-top: 2rem;
    text-align: center;
    color: var(--ts-grey);
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===================== RESPONSIVE DESIGN ===================== */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background: var(--ts-bg);
    }
}
