/* ===== CSS Variables ===== */
:root {
    --primary: #FFB5C2;
    --primary-dark: #FF9BAD;
    --secondary: #FFF8E7;
    --accent: #FFE4E1;
    --text-dark: #2C3E50;
    --text-light: #5A6C7D;
    --bg-white: #FFFFFF;
    --bg-cream: #FFF9F0;
    --shadow: rgba(255, 181, 194, 0.15);
    --shadow-hover: rgba(255, 181, 194, 0.25);
    --gradient-1: linear-gradient(135deg, #FFB5C2 0%, #FFE4E1 100%);
    --gradient-2: linear-gradient(135deg, #FFF8E7 0%, #FFE4E1 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
}

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

/* ===== Navigation ===== */
.navbar {
    background: linear-gradient(180deg, var(--bg-white) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 0 4px 30px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--accent);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    padding-left: 1rem;
    border-left: 2px solid var(--primary);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--gradient-1);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px var(--shadow-hover);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--shadow-hover);
}

.nav-cta:active {
    transform: translateY(0);
}

/* ===== Hero Section ===== */
.hero {
    padding: 6rem 0;
    background: var(--gradient-2);
    overflow: hidden;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-dark);
}

/* Hero Email Signup */
.hero-signup {
    margin-top: 2.5rem;
    max-width: 550px;
}

.hero-signup-form {
    margin-bottom: 0.75rem;
}

.hero-form-group {
    display: flex;
    gap: 0.75rem;
}

.hero-email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--primary);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    background: var(--bg-white);
    font-weight: 500;
}

.hero-email-input:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 4px rgba(255, 181, 194, 0.2);
}

.hero-email-input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.hero-submit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient-1);
    color: var(--bg-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow-hover);
    white-space: nowrap;
}

.hero-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.hero-submit-btn:active {
    transform: translateY(-1px);
}

.hero-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.hero-form-message {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-form-message.show {
    opacity: 1;
}

.hero-form-message.success {
    background: #d4edda;
    color: #155724;
}

.hero-form-message.error {
    background: #f8d7da;
    color: #721c24;
}

.hero-signup-note {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px var(--shadow));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float-circle 8s ease-in-out infinite;
}

.circle-1 {
    width: 100px;
    height: 100px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    top: 60%;
    left: 5%;
    animation-delay: 4s;
}

@keyframes float-circle {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -20px); }
    66% { transform: translate(-20px, 20px); }
}

/* ===== What is SelfServe Section ===== */
.what-is-selfserve {
    padding: 6rem 0;
    background: var(--bg-white);
}

.explanation-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.explanation-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.explanation-lead {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0;
}

.explanation-lead strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.replacements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.replacement-card {
    background: var(--gradient-2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px var(--shadow);
}

.replacement-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.replacement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.replacement-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.replacement-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.explanation-footer {
    max-width: 900px;
    margin: 0 auto;
}

.explanation-callout {
    background: var(--gradient-1);
    color: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.explanation-callout h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.explanation-callout p {
    font-size: 1.25rem;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.explanation-callout p:last-child {
    margin-bottom: 0;
}

.explanation-callout strong {
    font-weight: 800;
}

.explanation-emphasis {
    font-size: 1.35rem !important;
    font-weight: 700;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

/* ===== Introduction Section ===== */
.intro {
    padding: 6rem 0;
    background: var(--bg-white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-text strong {
    color: var(--text-dark);
    font-weight: 700;
}

.intro-text em {
    color: var(--primary-dark);
    font-style: normal;
    font-weight: 600;
}

/* ===== Comparison Section ===== */
.comparison {
    padding: 6rem 0;
    background: var(--gradient-2);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.comparison-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
}

.comparison-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.comparison-card:hover {
    transform: translateY(-5px);
}

.comparison-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px var(--shadow-hover);
}

.comparison-title {
    font-size: 1.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.comparison-title.paid {
    color: var(--text-light);
}

.comparison-title.selfserve {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-list {
    list-style: none;
    margin-bottom: 2rem;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.comparison-item.negative {
    color: var(--text-light);
}

.comparison-item.positive {
    color: var(--text-dark);
    font-weight: 500;
}

.icon-negative,
.icon-positive {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.icon-negative {
    color: #dc3545;
}

.icon-positive {
    color: #28a745;
}

.cost-breakdown {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.cost-breakdown.highlighted {
    background: var(--gradient-1);
    color: var(--bg-white);
}

.cost-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.cost-amount {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cost-note {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.savings-highlight {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.savings-highlight h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.savings-highlight p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

.savings-highlight strong {
    color: var(--primary-dark);
    font-weight: 700;
}

/* ===== Services Section ===== */
.services {
    padding: 6rem 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: var(--bg-cream);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.service-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.services-more {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 2rem;
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 6rem 0;
    background: var(--gradient-2);
}

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

.step-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: var(--bg-white);
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px var(--shadow-hover);
}

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

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

/* ===== CTA Section ===== */
.cta {
    padding: 6rem 0;
    background: var(--bg-white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.signup-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--accent);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    background: var(--bg-cream);
}

.email-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 181, 194, 0.1);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient-1);
    color: var(--bg-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--shadow-hover);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-message.show {
    opacity: 1;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
}

.cta-note {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 2rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-signup {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .nav-tagline {
        display: none;
    }

    .nav-cta {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    .hero-image {
        order: -1;
    }

    .device-image {
        max-width: 300px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .intro,
    .what-is-selfserve,
    .comparison,
    .services,
    .how-it-works,
    .cta {
        padding: 4rem 0;
    }

    .explanation-title {
        font-size: 2.5rem;
    }

    .explanation-lead {
        font-size: 1.25rem;
    }

    .replacements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .explanation-callout {
        padding: 2rem;
    }

    .explanation-callout h3 {
        font-size: 1.75rem;
    }

    .explanation-callout p {
        font-size: 1.1rem;
    }

    .explanation-emphasis {
        font-size: 1.2rem !important;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .comparison-card.featured {
        transform: scale(1);
    }

    .comparison-card.featured:hover {
        transform: translateY(-5px);
    }

    .savings-highlight {
        padding: 2rem;
    }

    .savings-highlight h3 {
        font-size: 1.5rem;
    }

    .savings-highlight p {
        font-size: 1rem;
    }

    .section-title,
    .cta-title {
        font-size: 2rem;
    }

    .hero-form-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-submit-btn {
        justify-content: center;
        width: 100%;
    }

    .form-group {
        flex-direction: column;
    }

    .submit-btn {
        justify-content: center;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .feature-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .section-title,
    .cta-title {
        font-size: 1.75rem;
    }

    .explanation-title {
        font-size: 2rem;
    }

    .explanation-lead {
        font-size: 1.1rem;
    }

    .replacement-card {
        padding: 1.5rem;
    }

    .replacement-icon {
        font-size: 2.5rem;
    }

    .replacement-card h3 {
        font-size: 1.25rem;
    }

    .replacement-card p {
        font-size: 0.95rem;
    }

    .explanation-callout {
        padding: 1.5rem;
    }

    .explanation-callout h3 {
        font-size: 1.5rem;
    }

    .explanation-callout p {
        font-size: 1rem;
    }

    .explanation-emphasis {
        font-size: 1.1rem !important;
    }

    .nav-logo {
        height: 50px;
    }

    .nav-brand {
        gap: 0.5rem;
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .comparison-card {
        padding: 1.5rem;
    }

    .comparison-title {
        font-size: 1.5rem;
    }

    .comparison-item {
        font-size: 0.95rem;
    }

    .cost-amount {
        font-size: 1.5rem;
    }

    .savings-highlight h3 {
        font-size: 1.25rem;
    }

    .savings-highlight p {
        font-size: 0.95rem;
    }
}

