@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

:root {
    /* Colors (inspired by diabetes-m.com) */
    --bg: #f4fbfe;
    --surface: #ffffff;
    --text: #0b2239;
    --muted: #516579;
    --primary: #00a7b5;
    --primary-600: #008b96;
    --primary-700: #00727c;
    --accent: #2b6ff7;
    --border: rgba(11, 34, 57, 0.12);
    --ring: rgba(0, 167, 181, 0.25);

    /* Effects */
    --shadow-xs: 0 6px 16px rgba(11, 34, 57, 0.08);
    --shadow-sm: 0 12px 30px rgba(11, 34, 57, 0.10);
    --shadow-md: 0 18px 50px rgba(11, 34, 57, 0.14);

    /* Radii */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 22px;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-600);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--primary-700);
}

/* Advertorial Mark */
.advertorial-mark {
    background: linear-gradient(90deg, rgba(11, 34, 57, 0.92), rgba(11, 34, 57, 0.86));
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(11, 34, 57, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-img {
    height: 50px;
    width: auto;
}

.home-button {
    background: rgba(255, 255, 255, 0.65);
    color: var(--text);
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(11, 34, 57, 0.12);
    transition: background-color 0.3s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.home-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xs);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e7fbff 0%, #ffffff 46%, #eef5ff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -30% -20% auto auto;
    width: 620px;
    height: 620px;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 167, 181, 0.22), rgba(0, 167, 181, 0.00) 60%),
        radial-gradient(circle at 70% 70%, rgba(43, 111, 247, 0.20), rgba(43, 111, 247, 0.00) 62%);
    filter: blur(0px);
    opacity: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-phones {
    max-width: 100%;
    height: auto;
}

.store-badge {
    height: 50px;
    width: auto;
    display: block;
}

.store-badge-small {
    height: 40px;
    width: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 167, 181, 0.20), 0 18px 42px rgba(43, 111, 247, 0.14);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(0.98);
    box-shadow: 0 18px 46px rgba(0, 167, 181, 0.24), 0 22px 58px rgba(43, 111, 247, 0.18);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text);
    border: 1px solid rgba(11, 34, 57, 0.14);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-store {
    padding: 0;
    border-radius: var(--radius-md);
    background: transparent;
    box-shadow: none;
    border: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-store:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 14px 24px rgba(11, 34, 57, 0.16));
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* Expert Section */
.expert-section {
    padding: 80px 0;
    background-color: var(--surface);
}

.expert-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.expert-image {
    flex: 1;
}

.expert-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.expert-text {
    flex: 1;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.section-title.center {
    text-align: center;
    margin-bottom: 50px;
}

.logo-inline {
    margin: 20px 0;
}

.logo-small {
    height: 40px;
    width: auto;
}

.section-description {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.8;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1fbff 60%, #f3f8ff 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(11, 34, 57, 0.10);
    box-shadow: var(--shadow-xs);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon img {
    width: 60px;
    height: 60px;
}

.feature-icon-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.feature-description {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
}

.features-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Nutrition Section */
.nutrition-section {
    padding: 80px 0;
    background-color: var(--surface);
}

.nutrition-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nutrition-image {
    flex: 1;
    position: relative;
}

.nutrition-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.nutrition-phone {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.nutrition-text {
    flex: 1;
}

.nutrition-features {
    list-style: none;
    margin-top: 30px;
}

.nutrition-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--muted);
}

.nutrition-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 167, 181, 0.10);
    border: 1px solid rgba(0, 167, 181, 0.16);
    border-radius: 50%;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background-color: var(--surface);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.product-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(11, 34, 57, 0.10);
    box-shadow: var(--shadow-xs);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.product-image {
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.product-description {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    text-align: left;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f4fbfe 55%, #ffffff 100%);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.benefit-item.reverse {
    flex-direction: row-reverse;
}

.benefit-text {
    flex: 1;
}

.benefit-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.benefit-description {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.benefit-image {
    flex: 1;
    position: relative;
}

.benefit-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Overview Section */
.overview-section {
    padding: 80px 0;
    background-color: var(--surface);
}

.overview-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.overview-devices {
    flex: 1;
    text-align: center;
}

.devices-img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.store-badges-overview {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.overview-features {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.overview-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--muted);
}

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

/* Free Access Section */
.free-access-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 167, 181, 0.10) 0%, rgba(43, 111, 247, 0.08) 100%);
}

.section-subtitle {
    font-size: 18px;
    color: var(--muted);
    text-align: center;
    margin-bottom: 50px;
}

.free-access-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.free-access-left {
    flex: 1;
}

.quote-box {
    background: linear-gradient(135deg, rgba(0, 167, 181, 0.95), rgba(43, 111, 247, 0.92));
    color: #ffffff;
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.quote-text {
    font-size: 18px;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.quote-author {
    font-size: 16px;
    font-weight: 600;
    text-align: right;
}

.experts-bottom {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.free-access-right {
    flex: 1;
}

.pricing-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(11, 34, 57, 0.10);
    box-shadow: var(--shadow-sm);
}

.pricing-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.pricing-amount {
    margin-bottom: 30px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    display: block;
}

.price-period {
    font-size: 16px;
    color: #666;
}

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

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--muted);
}

.checkmark {
    color: var(--primary-600);
    font-weight: 700;
    font-size: 20px;
}

.pricing-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pricing-note {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 16px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #081d33 0%, #061626 100%);
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-stores {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.store-badge-footer {
    height: 40px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: rgba(0, 167, 181, 0.95);
}

.footer-contact {
    margin-bottom: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contact-item {
    font-size: 14px;
    margin-bottom: 8px;
    color: #E0E0E0;
}

.footer-disclosures {
    margin-bottom: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.disclosure-text {
    font-size: 12px;
    line-height: 1.6;
    color: #E0E0E0;
    margin-bottom: 16px;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    color: #B0B0B0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content,
    .expert-content,
    .nutrition-content,
    .overview-content,
    .free-access-content {
        flex-direction: column;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .benefit-item,
    .benefit-item.reverse {
        flex-direction: column;
    }

    .nutrition-phone {
        position: static;
        margin-top: 20px;
        width: 100%;
    }

    .overview-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero {
        padding: 40px 0;
    }

    .expert-section,
    .features-section,
    .nutrition-section,
    .products-section,
    .benefits-section,
    .overview-section,
    .free-access-section {
        padding: 40px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Legal/text pages */
.page-content {
    padding: 56px 20px;
}

.page-content h1 {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.page-content h2 {
    font-size: 22px;
    line-height: 1.35;
    margin-top: 28px;
    margin-bottom: 10px;
}

.page-content h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 18px;
    margin-bottom: 8px;
}

.page-content p,
.page-content li {
    color: var(--muted);
}

.page-content section + section {
    margin-top: 18px;
}

.page-content ul {
    padding-left: 20px;
    margin: 10px 0 0;
}

.page-content a {
    color: var(--accent);
}

.page-content a:hover {
    color: #1f5ce0;
}

/* Forms (contact page) */
form {
    margin-top: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(11, 34, 57, 0.10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

label {
    font-weight: 600;
    color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(11, 34, 57, 0.14);
    background: #ffffff;
    color: var(--text);
    outline: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: rgba(0, 167, 181, 0.55);
    box-shadow: 0 0 0 6px var(--ring);
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    appearance: none;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 167, 181, 0.20), 0 18px 42px rgba(43, 111, 247, 0.14);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    filter: brightness(0.99);
    box-shadow: 0 18px 46px rgba(0, 167, 181, 0.24), 0 22px 58px rgba(43, 111, 247, 0.18);
}

#contact-success,
#contact-error {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(11, 34, 57, 0.10);
}

#contact-success {
    background: rgba(0, 167, 181, 0.10);
}

#contact-error {
    background: rgba(255, 59, 48, 0.10);
}

