/* ===========================
   CSS VARIABLES & FONTS
   =========================== */
@font-face {
    font-family: "XP-Regular";
    src: url("../assets/XP-RegularLighthouse.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "XP-Bold";
    src: url("../assets/XP-BoldLighthouse.otf") format("opentype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "XP-Medium";
    src: url("../assets/XP-MediumLighthouse.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "XP-Light";
    src: url("../assets/XP-LightLighthouse.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

:root {
    --color-primary: #ffc709;
    --color-secondary: #5a6fd8;
    --color-dark: #333;
    --color-light: #fff;
    --color-bg-light: #f0f3f6;
    --color-bg-lighter: #f9f9f9;
    --color-text: #333;
    --color-text-light: #666;

    --font-primary: "XP-Regular", Arial, sans-serif;
    --font-bold: "XP-Bold", Arial, sans-serif;
    --font-medium: "XP-Medium", Arial, sans-serif;
    --font-light: "XP-Light", Arial, sans-serif;

    --container-width: 80%;
    --container-width-mobile: 95%;
    --section-padding: 80px 2rem;
    --section-padding-mobile: 40px 1rem;

    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;

    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--section-padding);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.section {
    padding: var(--section-padding);
}

.title {
    font-family: var(--font-bold);
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: bold;
    color: black;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: 2px;
}

.subtitle {
    font-family: var(--font-bold);
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: black;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.highlight {
    font-family: var(--font-bold);
    color: inherit;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-medium);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    :root {
        --container-width: 90%;
    }

    .hero-container {
        max-width: 90%;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .content-section {
        flex-direction: column;
    }

    .img-panel {
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 40px 1rem;
        --container-width: 95%;
    }

    .hero {
        background-attachment: scroll;
        padding: 1rem;
    }

    .hero-container {
        max-width: 100%;
        padding: 1rem;
        margin-right: 0;
    }

    .hero-form {
        padding: 20px;
        width: 100%;
    }

    .form-group input,
    .form-group select {
        padding: 15px 12px 12px 12px;
        font-size: 14px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 20px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step {
        max-width: 100%;
    }

    .numbers-section {
        background-size: 200px auto;
        background-position: center bottom;
    }

    .disclaimer {
        margin-left: 0;
        padding: 1rem;
    }

    .statement {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .number-imgs {
        flex-direction: column;
        gap: 2rem;
    }

    .cards-section {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .card {
        padding: 1.5rem;
    }

    .img-panel {
        grid-template-columns: 1fr;
    }

    .cta-container {
        width: 95%;
        padding: 2rem 1rem;
        min-height: auto;
    }

    .cta-text {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-answer p {
        font-size: 14px;
        padding: 20px 0;
    }

    .video-section {
        min-height: 400px;
    }

    .video-section iframe,
    .video-section video {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-submit {
        padding: 12px;
        font-size: 14px;
    }

    .title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .cta-text {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .faq-toggle {
        width: 25px;
        height: 25px;
        font-size: 20px;
    }
}

.toastify {
  font-family: var(--font-primary) !important;
  font-size: 14px !important;
  display: flex !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-lg) !important;
  max-width: 400px !important;
  word-wrap: break-word !important;
  padding: 16px 20px !important;
}

.toast-success {
  background: linear-gradient(135deg, #4CAF50, #45a049) !important;
}

.toast-error {
  background: linear-gradient(135deg, #F44336, #da190b) !important;
}

.toast-warning {
  background: linear-gradient(135deg, #FF9800, #f57c00) !important;
}

.toast-info {
  background: linear-gradient(135deg, #2196F3, #1976d2) !important;
}

.toastify .toast-close {
  background: none !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 18px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin-left: 10px !important;
}

.toastify .toast-close:hover {
  color: white !important;
}

@media (max-width: 768px) {
  .toastify {
    margin: 15px !important;
    max-width: calc(100vw - 30px) !important;
  }
}
