:root {
    --color-primary: #004e4c;
    --color-primary-hover: #ffdc60;
    --color-secondary: #667eea;
    --color-success: #10b981;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #004e4c;
    --color-gray-900: #004e4c;
    --color-red-100: #fee2e2;
    --color-red-500: #ef4444;
    --color-red-600: #dc2626;
    --color-blue-50: #f3f4f6;
    --color-blue-100: #f3f4f6;
    --color-blue-500: #3b82f6;
    --color-blue-600: #2563eb;
    --color-green-50: #ecfdf5;
    --color-green-500: #10b981;
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-2xl: 1rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.02),
        0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

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

body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f3f4f6;
    color: var(--color-gray-900);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 55px;
    padding: 0 1rem;
}

.logo-nav {
    flex-grow: 1;
    text-align: left;
}

.logo {
    height: 40px;
    transition: transform 0.3s ease;
}

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

.nav-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    width: 75%;
    height: 1.5px;
    background-color: #004e4c;
    transition: all 0.3s ease;
}

.nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 330px;
    height: 100vh;
    background: #f5f7fa;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 105;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    margin: 0 auto;
}

.nav-menu.active {
    left: 0;
}

.nav-header {
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-logo {
    height: 50px;
    margin-bottom: 10px;
}

.nav-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    flex-grow: 1;
}

.nav-list li a {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: #037975;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.nav-list li a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: #009894;
}

.nav-list li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #004e4c;
    padding-left: 30px;
}

.nav-list li a:hover i {
    color: #004e4c;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .logo {
        height: 35px;
    }

    .nav-menu {
        width: 250px;
    }

    .main-nav {
        display: flex;
        gap: 1.5rem;
    }
}

/* Main */
.main {
    padding: 2rem 0 4rem;
}

:root {
    --primary: #004e4c;
    --secondary: #02c2bc;
    --accent: #00d4aa;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
}

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 30% 70%,
        rgba(2, 194, 188, 0.08) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    border-radius: 50%;
    animation-delay: 0s;
}

.shape-2 {
    top: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(
        45deg,
        var(--secondary-color),
        var(--accent-color)
    );
    border-radius: 20px;
    animation-delay: 2s;
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: linear-gradient(
        45deg,
        var(--accent-color),
        var(--primary-color)
    );
    border-radius: 50%;
    animation-delay: 4s;
}

.shape-4 {
    bottom: 30%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--accent-color)
    );
    border-radius: 30px;
    animation-delay: 1s;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

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

.badges-container {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

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

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

.hero-title span {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    padding: 1rem 2rem;
    border-radius: 28px;
    font-weight: 500;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
}

.cta-primary {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
    color: white;
    box-shadow: 0 4px 15px rgba(2, 194, 188, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 194, 188, 0.4);
}

.cta-secondary {
    background: var(--bg);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

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

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.page-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 6rem 1rem;
}

.page-headerr {
  text-align: center;
  margin-bottom: 2rem;
  padding: 3rem 1rem;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  display: inline-block;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #004e4c;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.5;
  opacity: .7;
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-modal.active .video-container {
    transform: scale(1);
}

.video-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: between;
    align-items: center;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.close-btn i {
    font-size: 1.2rem;
    color: var(--text);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Responsive - Much Smaller */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: .5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .badges-container {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .cta-container {
        gap: 0.75rem;
        margin-bottom: 2.5rem;
    }

    .cta-primary,
    .cta-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }

    .feature-icon i {
        font-size: 1.25rem;
    }

    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .feature-description {
        font-size: 0.875rem;
    }

    .stats-row {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .video-modal {
        padding: 0.5rem;
    }

    .video-container {
        max-width: 100%;
        border-radius: 10px;
    }

    .video-header {
        padding: 1rem;
    }

    .video-title {
        font-size: 1.1rem;
    }

    .close-btn {
        width: 35px;
        height: 35px;
        top: 0.75rem;
        right: 0.75rem;
    }

    .close-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
        padding: 0.5rem 0;
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: .8rem;
        margin-bottom: 2rem;
    }

    .cta-primary,
    .cta-secondary {
        width: 50%;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        justify-content: center;
    }

    .badges-container {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .features-grid {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .feature-item {
        padding: 0.75rem;
    }

    .stats-row {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .video-modal {
        padding: 0.25rem;
    }

    .video-header {
        padding: 0.75rem;
    }

    .video-title {
        font-size: 1rem;
    }
}

.hero-content > * {
    animation: fadeInUp 0.6s ease-out both;
}

.badges-container {
    animation-delay: 0.1s;
}
.hero-title {
    animation-delay: 0.2s;
}
.hero-subtitle {
    animation-delay: 0.3s;
}
.cta-container {
    animation-delay: 0.4s;
}
.features-grid {
    animation-delay: 0.5s;
}
.stats-row {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step */
.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--color-gray-200);
    color: var(--color-gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step.active .step-number {
    background-color: #004e4c;
    color: white;
}

.step.completed .step-number {
    background-color: var(--color-success);
    color: white;
}

.step-info {
    text-align: center;
}

.step-title {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-gray-900);
}

.step.active .step-title {
    color: var(--color-gray-900);
}

.step-description {
    font-size: 0.85rem;
    color: var(--color-gray-500);
    margin-top: 0.05rem;
    opacity: 0.8;
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: var(--color-gray-200);
    margin: 0 1rem;
    border-radius: 1px;
}

.step-line.completed {
    background-color: var(--color-success);
}

/* Card */
.card {
    background-color: white;
    border-radius: 0 0 0 50px;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 1.25rem;
    color: #004e4c;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.5;
    opacity: 0.7;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

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

.template-card {
    border: 2px solid var(--color-gray-200);
    border-radius: 0 0 0 30px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    background-color: white;
}

.template-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.template-card.selected {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.template-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0 0 10px 10px;
    margin-bottom: 1rem;
    background-color: var(--color-gray-100);
}

.template-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
    text-align: center;
}

.template-description {
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

.template-features {
    list-style: none;
}

.template-features li {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

.template-features li::before {
    content: "";
    width: 0.25rem;
    height: 0.25rem;
    background-color: #037975;
    border-radius: 25%;
    margin-right: 0.5rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section {
    background-color: var(--color-gray-50);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
}

.form-section.pricing-section {
    background: linear-gradient(
        135deg,
        var(--color-blue-50),
        var(--color-gray-50)
    );
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-family: inherit;
    background-color: white;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-input:hover,
.form-select:hover {
    border-color: var(--color-gray-400);
}

.form-input::placeholder {
    color: var(--color-gray-400);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.total-input {
    background-color: var(--color-gray-100);
    font-weight: 600;
}

.char-count {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-top: 0.25rem;
    text-align: right;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 28px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #ffdc60;
    color: #004e4c;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--color-primary);
    color: #fff;
}

.btnn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 28px;
    font-size: 0.5rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* CAPTCHA */
.captcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444; /* Modern red */
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    background-color: #fef2f2; /* Light red background */
}

.error-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.error-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.footer-logo {
    height: 40px;
    margin-bottom: 0.5rem;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 1rem;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: white;
    border-radius: var(--border-radius-2xl);
    max-width: 400px;
    width: 100%;
    padding: 1.5rem;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-gray-400);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--border-radius);
    transition: color 0.2s;
}

.popup-close:hover {
    color: var(--color-gray-600);
}

.popup-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.popup-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.success-icon {
    background-color: var(--color-green-50);
    color: var(--color-green-500);
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 0.1rem;
}

.popup-subtitle {
    color: var(--color-gray-600);
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }

    .card {
        padding: 3rem;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-buttons {
        flex-direction: row;
    }

    .popup-buttons {
        flex-direction: row;
    }
}

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

    .main {
        padding: 1rem 0 2rem;
    }

    .page-title {
        font-size: 1.875rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-subtitle {
        font-size: 1rem;
    }

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

    .step-indicator {
        flex-direction: column;
        gap: 1rem;
    }

    .step {
        flex-direction: row;
        width: 100%;
        text-align: center;
    }

    .step-number {
        margin-bottom: 0;
        margin-right: 0.8rem;
        flex-shrink: 0;
        width: 1.8rem;
        height: 1.8rem;
        font-size: 1rem;
    }

    .step-info {
        text-align: left;
        font-size: 1rem;
    }

    .step-line {
        display: none;
    }

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

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

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

    .popup-buttons {
        flex-direction: column;
    }
}

.icon {
    width: 1rem;
    height: 1rem;
}

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

.text-right {
    text-align: right;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .error-message {
        color: #fca5a5;
        background-color: #450a0a;
    }
}
