:root {
    --primary-color: #30caa9;
    --primary-color-o5: #30caa915;
    --primary-color-o10: #30caa935;
    --primary-dark: #28aa8e;
    --secondary-color: #1a2b3c;
    --highlight-color: #ff6f61;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --accent-badge: #e6fffa;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
}
body {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a1f2b;
    transform: translateY(-2px);
    cursor: pointer;
}

.btn-dark {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-accent {
    font-size: 14px;
}
.price-options .btn-accent,.price-options .btn-dark {
    width: 100%;
    text-align: center;
}

.btn-dark:hover {
    background-color: #1a1f2b;
    transform: translateY(-2px);
}

.btn-accent {
    color: var(--highlight-color);
    background-color: var(--white);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid var(--highlight-color);
}

.btn-accent:hover {
    background-color: var(--highlight-color);
    color: white;
    transform: translateY(-2px);
}

.btn-text {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.badge {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: var(--highlight-color);
    font-size: 0.75rem;
    white-space: nowrap;
}

/* Header */
header {
    padding: 20px 0 90px 0;
    position: sticky;
    top: 0;
    background: linear-gradient(360deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .95) 90%);
    backdrop-filter: blur(.5px);
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.mobile-menu-toggle {
    display: none;
    color: var(--secondary-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display:flex;
}
.logo img {
    height: 35px;
}

.nav-links {
    display: flex;
    list-style: none;
    background: #f3f4f6;
    border-radius: 8px;
    box-shadow: 0 0 37px 39px #fff;
}

.nav-links a {
    font-size: 14px;
    display:inline-block;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 400;
    padding:5px 20px;
    margin:5px 0px;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 8px;
}
.nav-links li:first-child a {
    margin-left:5px;
}
.nav-links li:last-child a {
    margin-right:5px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-auth {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 80px 20px;
    gap: 60px;
}

.hero-content {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.hero-image {
    flex: 2;
    position: relative;
    order: 2; /* Still appears on the right in the flex flow */
}

/* On desktop, keep the image to the right of the text */
@media (min-width: 992px) {
    .hero-content {
        display: grid;
        grid-template-areas: 
            "h1 img"
            "p img"
            "stats img"
            "actions img"
            "sub-stats img";
        grid-template-columns: 1fr auto;
        column-gap: 60px;
        row-gap: 22px;
    }
    .hero-content h1 { grid-area: h1; }
    .hero-content p { grid-area: p; }
    .hero-content .hero-stats:not(.sub) { grid-area: stats; }
    .hero-actions { grid-area: actions; }
    .hero-content .hero-stats.sub { grid-area: sub-stats; }
    .hero-image { 
        grid-area: img;
        min-width: 400px;
    }
}
    .hero-stats.sub  {
    color:var(--primary-color);}

.hero-image img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 25px 25px rgba(0,0,0,0.1));
}

.wrapper {
     background:#f3f4f6;
     border-bottom: 18px solid #fff;
}
/* Info Section */
.info-section {
    position:relative;
    text-align: center;
    padding: 0 20px;
}
.info-section .section-icon {
    position:absolute;
    margin-top:-40px;
    left:50%;
    transform:translateX(-50%);
}
.info-section h2 {
    line-height: 45px;
    padding-top:80px;
}

.section-icon {
    font-size: 3rem;
    background: var(--secondary-color);
    color: white;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    margin: 0 auto 30px;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.alert-box {
    background: var(--secondary-color);
    color: white;
    padding: 10px 60px 60px 60px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    margin-bottom: -50px;
}
.alert-box.text-center {
    margin-bottom: -150px;
    text-align: center;
}
.price-hint {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: center;
    margin-top: 30px;
}
.alert-icon {
    color: var(--primary-color);
    font-size: 4rem;
    margin-bottom: 5px;
}

.alert-box h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.alert-box p {
    opacity: 0.8;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
}

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

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-right: 20px;
    background: #fff;
    border-radius: 20px;
    transition: transform 0.3s;
    box-shadow: 0 0 30px -17px rgba(0, 0, 0, .2), 0 43px 37px -72px rgba(0, 0, 0, .5);
}

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

.feature-icon {
    width: 140px;
    height: 180px;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-radius: 15px 0 0 15px;
    background-color: var(--primary-color);
    color: white;

}
.feature-icon i {
    /* Der magische Teil */
    -webkit-background-clip: text;
    background-clip: text;
    
    /* Der Schatten, der nach innen geworfen wird */
    filter: drop-shadow(0px 0 27px rgba(255,255,255,.9)); 
}

.feature-text h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    color:var(--primary-color);
}

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

/* Pricing Section */
.pricing-section {
    padding: 100px 20px;
}

.pricing-comparison {
    display: flex;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-card {
    flex: 1;
    padding: 35px 50px 50px 50px;
    position: relative;
}

.comparison-card.dark {
    background: var(--secondary-color);
    color: white;
}

.comparison-card.modern {
    background: white;
    position: relative;
    border: 2px solid #f3f4f6;
}

.badge-premium {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 7px 20px;
    border-radius: 0 14px 0 14px;
    font-size: 1rem;
    font-weight: 700;
}

.card-logo img {
    height: 35px;
    margin-bottom: 40px;
}

.comparison-card h3 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.comparison-card ul {
    list-style: none;
    margin-bottom: 40px;
}
.comparison-card h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 400;
    margin-top: -20px;
}

.comparison-card li {
    padding: 12px 0;
    padding-left: 0;
    position: relative;
    font-size: 1rem;
    display: flex;
}
.comparison-card li i {
    margin-right: 10px;
    font-size: 1.5rem;
}
.comparison-card.dark li {
    color: rgba(255,255,255, .5);
}
.comparison-card.dark li i {
    color: #ff6b6b;
}
.comparison-card.modern li i {
    color: var(--primary-color);
}

.comparison-card li::before {
    position: absolute;
    left: 0;
    top: 14px;
    font-size: 0.8rem;
}

.negative::before { content: "✕"; color: #ff6b6b; }
.positive::before { content: "✓"; color: var(--primary-color); }

.price {
    font-size: 2rem;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #9ca3af;
}

.price-options {
    display: flex;
    gap: 30px;
}

.option {
    flex: 1;
}

.option.highlight {
    position: relative;
}

.amount {
    color:var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.option.highlight .amount {
    color:var(--highlight-color);
}

.amount span {
    font-size: 0.8rem;
    color: #9ca3af;
}

.promo {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--highlight-color);
    margin-top: 5px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 20px;
}

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

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 30px;
    background: none;
    border: none;
    color: white;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255,255,255,0.05);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background: rgba(0,0,0,0.1);
}

.faq-answer p {
    padding: 20px 0;
    color: #cbd5e1;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question span {
    transform: rotate(180deg);
}

#advertising-section.blur {
    filter:blur(4px);
    opacity:.3;
}

/* Footer */

footer {
    padding: 20px;
    background: var(--secondary-color);
    color: white;
    margin-top: 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo img {
    height: 35px;
    margin-bottom: 20px;
}

.footer-logo p {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.6;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}



.trust-banner {
    text-align: center;
    color: white;
    margin:25px auto;
    border: 2px dashed var(--primary-color);
    border-radius: 20px;
    padding: 20px;
    max-width:650px;
}
.trust-banner h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.trust-banner p {
    font-size: 1rem;
    color: var(--text-light);
}


.hero.container {
    align-items: start;
    margin-bottom:100px;
}
.hero-image {
    position:relative;
}
.hero-phone {
position: absolute;
right: 0px;
top: 0;
}
.phone {
    position: absolute;
    background: #ff0000;
    border-radius: 47px;
    width: 240px;
    height: 509px;
    right:0;
    top:-50px;
    z-index: 10;
    margin: 5px;
    transition: all 0.5s ease-in-out; /* Für weiche Übergänge beim Laden */
    animation: phoneSwap 9s infinite ease-in-out; /* Gesamtdauer 9s für alle 3 Phasen */
    transform-origin: bottom left;
}

.phone span {
    position: relative;
    display:block;
    margin-left: -5px;
    margin-top: -5px;
    width:calc(100% + 10px);
    height:calc(100% + 5px);
    background-image: url('/img/phone.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}



/* --- SYNCHRONES 4-STUFEN-KARUSSELL --- */
@keyframes phoneCarousel {
    /* Dauer eines Schritts: 25% (4s bei 16s Gesamtdauer)
       Bewegungsphase: ca. 5% bis 10% des Zyklus
    */

    /* POSITION 1: Fokus (Vordergrund) */
    0%, 15% {
        transform: translateX(0) scale(1) rotate(0deg);
        filter: blur(0);
        opacity: 1;
        z-index: 100;
        pointer-events: auto;
    }

    /* ÜBERGANG 1: Von P1 nach P2 (Nach hinten rücken) */
    20%, 40% {
        transform: translateX(-50px) scale(0.8) rotate(-10deg);
        filter: blur(4px);
        opacity: 1;
        z-index: 50;
        pointer-events: none;
    }

    /* ÜBERGANG 2: Von P2 nach P3 (Noch weiter hinten) */
    45%, 65% {
        transform: translateX(-100px) scale(0.6) rotate(-20deg);
        filter: blur(10px);
        opacity: 1;
        z-index: 10;
        pointer-events: none;
    }

    /* ÜBERGANG 3: AUSFADEN (P3 verschwindet) */
    70%, 85% {
        transform: translateX(-150px) scale(0.4) rotate(-30deg);
        filter: blur(15px);
        opacity: 0;
        z-index: 5;
    }

    /* DER SYNCHRON-MOVE: 
       Während die anderen aufrücken, teleportiert dieses 
       Element nach links und bereitet den Einschuss vor. 
    */
    90% {
        transform: translateX(100px) scale(1.2) rotate(10deg);
        filter: blur(0);
        opacity: 0;
        z-index: 110;
    }

    /* FINALE: SLIDE-IN (Synchron zum Nachrücken der anderen) */
    95%, 100% {
        transform: translateX(0) scale(1) rotate(0deg);
        filter: blur(0);
        opacity: 1;
        z-index: 110;
        pointer-events: auto;
    }
}

/* --- BASIS-STYLING --- */
.phone {
    position: absolute;
    right: 0;
    top: -50px;
    transform-origin: bottom center;
    /* 16s Gesamtdauer für 4 Geräte (4s pro Slot) */
    animation: phoneCarousel 16s infinite cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, filter, opacity, z-index;
    pointer-events: none; 
}

/* --- TIMING & VERSATZ (4s Abstände) --- */
.phone.p1 { animation-delay: 0s; }
.phone.p2 { animation-delay: -4s; }
.phone.p3 { animation-delay: -8s; }
.phone.p4 { animation-delay: -12s; }


/* Checkout Page Styles */
.checkout-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    top: 0;
}

.checkout-badge {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkout-badge i {
    color: var(--primary-color);
}

.checkout-main {
    padding: 60px 20px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.checkout-summary-container {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    z-index: 10;
    align-self: start;
}

.form-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 30px -17px rgba(0, 0, 0, .2), 0 43px 37px -72px rgba(0, 0, 0, .5);
    margin-bottom: 30px;
}

.form-section h2 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h2 i {
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(48, 202, 169, 0.1);
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-content {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
}

.payment-content i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
}

.payment-content span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.payment-option.active .payment-content {
    border-color: var(--primary-color);
    background: rgba(48, 202, 169, 0.05);
}

.payment-option.active .payment-content i,
.payment-option.active .payment-content span {
    color: var(--primary-color);
}

.btn-large {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 5px;
}

.checkout-footer {
        position: sticky;
    margin-top:15px;
    text-align:center;
}

.terms {
    text-align: left;
    font-size: 0.8rem;
    padding-left:40px;
    color: var(--text-light);
    margin-top: 25px;
    margin-bottom: 25px;
    position:relative;
}
.terms input {
    transition: all 0.3s ease;
    border-radius: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--primary-color-o5);
    border:2px solid var(--primary-color);
    margin:5px 0;
    height: 28px;
    width: 28px;
    position: absolute;
    left:0;
}
.terms input:hover {
    background: var(--primary-color-o10);
    cursor: pointer;
}
.terms input:hover:before {
    opacity:1;
}
.terms input:before {
    transition: all 0.3s ease;
   content:"";
   position:absolute;
   height: 10px;
   width:5px;
   transform: rotate(45deg);
   border-right:2px solid var(--primary-color);
   border-bottom:2px solid var(--primary-color);
       right: 8px;
    top: 5px;
    opacity:.5;
}
.terms input:checked {
  background: var(--primary-color);
}
.terms input:checked:before {
  border-color:#fff;
  opacity:1;
}

.terms a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Summary Card */
.summary-card {
    color: var(--secondary-color);
}

.summary-card h3 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.summary-plan {
    display:none;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.plan-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.plan-name {
    font-weight: 700;
}

.plan-badge {
    font-size: 0.75rem;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 10px;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.summary-row .free {
    color: var(--primary-color);
    font-weight: 700;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 5px;
    margin-top: 5px;
}
.summary-row.total-brutto {
    opacity:.6;
    font-size: .75rem;
    font-weight: 400;
}

.summary-row.total small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.6;
}
.summary-row.total-brutto small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.6;
}

.summary-trust {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.trust-item i {
    color: var(--primary-color);
}

.checkout-mini-footer {
    padding: 40px 0;
    background: var(--bg-light);
    border-top: 1px solid #e5e7eb;
    margin-top: 60px;
}

.checkout-mini-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-mini-footer p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.bundle-matching {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px dashed var(--primary-color);
}

.matching-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bundle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bundle-tag {
    background: var(--white);
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.autocomplete-wrapper {
    position: relative;
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--secondary-color);
    transition: background 0.2s;
}

.suggestion-item:hover, 
.suggestion-item.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.suggestion-item:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
}

.plan-switcher {
    display:flex;
    background: var(--primary-color);
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 25px;
    gap: 5px;
}

.switch-option {
    position: relative;
    flex: 1;
    padding: 10px;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    color: var(--text-light);
    justify-content: center;
}
.switch-option .price{
   position: absolute;
   right:10px;
   font-size:1rem;
    display: flex;
    height: calc(100% - 20px);
    align-items: center;
}

.switch-option.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}
.switch-option:not(.active) {
    background:rgba(255,255,255,.1);
    color:#fff;
    opacity:.7;
}
.switch-option:not(.active):hover {
    opacity:1;
    outline:1px solid #fff;
}

.save-badge {
    color: var(--text-light);
    opacity:.5;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.recommendation-badge {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid #bfdbfe;
}

.upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f9fafb;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-color);
    background: rgba(48, 202, 169, 0.05);
}

.upload-area i {
    font-size: 1.5rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.upload-area span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.preview-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: none;
}

.preview-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.file-upload-wrapper.has-file .upload-area {
    display: none;
}

.file-upload-wrapper.has-file .preview-container {
    display: block;
}

.payments {
    font-size:.75rem;
    color:#aaa;
    font-weight: 500;
    text-align: center;
    margin-top:10px;
}
.payments img {
    padding-top:5px;
    display:block;
    width:200px;
    margin:0 auto;
}

/* --- Mobile Optimization --- */
@media (max-width: 991px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    
    .nav-links, .nav-auth {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 2rem;
        cursor: pointer;
    }

    .hero {
        display: flex;
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        
        display: block; /* Important for float to work */
        text-align: left;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .hero-content .hero-stats:not(.sub) { order: 3; }


    .hero-image {
        float: right;
        width: 160px; /* Reduced width for better wrapping */
        min-height: auto;
        margin-left: 15px;
        margin-bottom: 15px;
        padding-top: 10px;
        position: relative;
        z-index: 1;
    }

    .hero-actions {
        clear: both; /* Wrap below the floating image */
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-top: 10px;
    }

    .hero-content .hero-stats.sub { order: 6; }

    .hero-phone {
        transform: scale(0.4) translateX(25%);
        transform-origin: top right;
        right: 0;
        top: 0;
    }

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

    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 0 20px 30px;
    }

    .feature-icon {
        width: 100%;
        height: 120px;
        border-radius: 20px 20px 0 0;
    }

    .pricing-comparison {
        flex-direction: column;
    }

    .comparison-card {
        padding: 40px 20px;
    }

    .price-options {
        flex-direction: column;
        gap: 20px;
    }
}
.hero-content-textwrap {  display:none;}
@media (max-height: 800px) {
    .hide-mobile {display:none;}
    .summary-card h3 {margin-bottom:0;}
}
@media (max-width: 768px) {
    .footer-content, .container {
        max-width:100%;
        box-sizing: border-box;
        max-width: none;
        box-sizing: border-box;
    }
    html {
        font-size: 14px;
    }
    h1 { font-size: 2.2rem;margin-bottom: 1rem; }
    .hero-content-textwrap {  
       display: block;
        width: 151px;
        height: 166px;  
        background-color: transparent;
        margin: 0 25px 5px 0;
        float: right;
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
        clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
        -webkit-shape-outside: polygon(0% 0%, 100% 0%, 50% 100%);
        shape-outside: polygon(0% 0%, 100% 0%, 50% 100%);
                margin-right: 47px;
    }

    main.start-page {
        margin-top: -40px;
    }
    header {
        padding: 20px 0 50px 0;
    }
    .hero-image {
        width: 0px;
        min-height: 0px;
    }
    .hero-content p {
        padding-right: 0; /* Removing manual padding */
        line-height: 1.5;
    }
    .hero-phone {
        transform: scale(0.5);
        right: -20px;
        top:20px;
        pointer-events: none;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary-container {
        order: -1;
        margin-bottom: 30px;
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    
    .summary-card {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .upload-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .checkout-mini-footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .alert-box {
        padding: 40px 20px;
    }
}

/* Mobile Menu Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 2000;
    padding: 80px 30px;
    transition: 0.3s;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 25px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.mobile-overlay.active {
    display: block;
}

/* --- Checkout Header Back Button --- */
.checkout-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.checkout-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 18px;
    border-radius: 50px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.checkout-back-link:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    transform: translateX(-4px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.checkout-back-link i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .checkout-back-link {
        padding: 10px;
        width: 44px;
        height: 44px;
        justify-content: center;
        border-radius: 50%;
    }
    
    .checkout-back-link span {
        display: none;
    }
    
    .checkout-header-left {
        gap: 12px;
    }
}

/* --- Error Page --- */
.error-page .hero {
    min-height: 60vh;
    padding-top: 80px;
}

.error-badge {
    background: var(--accent-badge);
    color: var(--primary-dark);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.error-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.error-illustration i {
    animation: float_error 6s ease-in-out infinite;
}

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

@media (max-width: 991px) {
    .error-hero {
        text-align: center;
    }
}
