:root {
    /* Color Palette - Sharaphone (Trust & Tech Blue) */
    --primary-color: #2563EB;
    /* Royal Blue */
    --primary-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --primary-dark: #1E40AF;
    --secondary-color: #F3F4F6;
    /* Light Gray/Blueish */
    --accent-color: #0F172A;
    /* Dark Navy/Black for text */
    --bg-color: #FFFFFF;
    --surface-color: #FFFFFF;

    --text-primary: #111827;
    /* Near Black */
    --text-secondary: #4B5563;
    /* Dark Gray */
    --border-color: #E5E7EB;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --backdrop-blur: blur(12px);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --radius-lg: 16px;
    /* Slightly squarer for tech look */
    --radius-xl: 30px;

    /* Typography */
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Import nicer font (Pretendard) */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    /* User will provide hero_bg_realistic.png - Currently commented out to prevent weird image */
    /* background-image: url('hero_bg_realistic.png'), radial-gradient(circle at 50% 10%, #fff1f2 0%, #fff 100%); */
    background: radial-gradient(circle at 50% 10%, #fff1f2 0%, #fff 100%);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

/* Force standard font on form elements */
input, textarea, select, button {
    font-family: inherit;
}

/* Force standard font on form elements */
input,
textarea,
select,
button {
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    filter: brightness(1.05);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 10px;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 8px;
    line-height: 1.2;
}

.mb-2 {
    margin-bottom: 24px;
}

.mb-3 {
    margin-bottom: 48px;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    height: 40px;
    /* Slightly smaller for balance */
    width: auto;
    object-fit: contain;
}

.logo-text {
    height: 38px;
    /* Matched to icon roughly */
    width: auto;
    object-fit: contain;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
    /* More breathing room */
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.2s;
    font-size: 1rem;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section - Redesigned (Side-by-Side) */
.hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
    /* Light Blue to White */
    text-align: left;
    /* Reset to left for desktop */
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    /* Wider container for side-by-side */
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text-area {
    text-align: left;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    /* Blue tint */
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-text-area h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #111;
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-stats {
    display: inline-flex;
    gap: 40px;
    padding: 20px 0;
    /* Remove borders/bg for cleaner look in side-by-side */
    background: transparent;
    box-shadow: none;
    margin: 0 0 32px;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.cta-group {
    display: flex;
    gap: 16px;
}

.hero-image-area {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-main-img {
    width: 100%;
    max-width: 550px;
    /* Constrain width */
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
    transform: perspective(1000px) rotateY(-5deg);
    /* Slight 3D turn */
    transition: transform 0.5s ease;
}

.hero-main-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Responsive: Mobile Stack */
@media (max-width: 968px) {
    .hero {
        text-align: center;
        padding: 40px 0;
        /* Reduced padding for mobile */
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        /* Reduced gap */
        text-align: center;
        padding: 0 10px;
        /* Slight horizontal padding */
    }

    .hero-text-area {
        text-align: center;
        order: 1;
        /* Text first */
    }

    .hero-text-area h1 {
        font-size: 2.2rem !important;
        /* Force smaller h1 on mobile */
        line-height: 1.3 !important;
        word-break: keep-all;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 24px;
        padding: 0 10px;
    }

    .hero-image-area {
        order: 2;
        /* Image second */
    }

    .hero-stats {
        flex-direction: column;
        /* Stack vertically on very small screens */
        justify-content: center;
        align-items: center;
        gap: 15px;
        width: 100%;
        background: white;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .stat-item {
        text-align: center;
        width: 100%;
        /* Full width for stacked items */
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .cta-group {
        flex-direction: column;
        /* Stack buttons vertically on mobile */
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
        /* Full width buttons for easy tapping */
    }

    .hero-main-img {
        max-width: 90%;
        margin: 0 auto;
        transform: none;
    }
}

/* Floating Glass Cards Removed for Cleaner Layout */

.floating-card span {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

/* Specific Positions for Cards */
.card-top-right {
    top: 5%;
    right: 0%;
    animation-delay: 0s;
}

.card-mid-left {
    top: 40%;
    left: -10%;
    animation-delay: 1.5s;
}

.card-bottom-left {
    bottom: 5%;
    left: 0%;
    animation-delay: 3s;
}

.card-bottom-right {
    bottom: 15%;
    right: -5%;
    animation-delay: 4.5s;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* CTA Button - Pink Update */
.btn-hero-cta {
    background: #ec4899;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(236, 72, 153, 0.4);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    z-index: 10;
    transition: all 0.3s ease;
}

.btn-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(236, 72, 153, 0.5);
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
}

.hero-text-area {
    margin-bottom: 20px;
    z-index: 10;
}

.hero-text-area h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-area {
    position: relative;
    width: 100%;
    margin: 0 auto 50px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.hero-main-img {
    width: 100%;
    max-width: 700px;
    /* Keep it large */
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Floating Glass Cards */
.floating-card {
    position: absolute;
    z-index: 5;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
    display: flex;
    align-items: center;
    min-width: 180px;
    animation: float-card 6s ease-in-out infinite;
    text-align: left;
}

/* ... existing floating card styles ... */

.hero-cta-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    z-index: 10;
}

/* Hero Stats Section */
.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-top: 20px;
    padding: 30px 50px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #db2777;
    /* Pink */
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
}

/* Responsive Stats */
@media (max-width: 768px) {
    .hero-text-area h1 {
        font-size: 2.4rem;
    }

    .hero-stats {
        gap: 30px;
        padding: 20px 30px;
        flex-wrap: wrap;
        width: 90%;
    }

    .stat-value {
        font-size: 1.4rem;
    }
}

/* Responsive Adjustments for Hero */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        grid-template-areas: none;
        gap: 40px;
        text-align: center;
    }

    .hero-text-area {
        margin: 0 auto;
    }

    .hero-cta-area {
        align-items: center;
        margin-top: 0;
    }

    .hero-stats {
        justify-content: center;
    }

    .card-mid-left {
        left: 5%;
    }
}

@media (max-width: 768px) {
    .floating-card {
        padding: 10px 15px;
        min-width: auto;
    }

    .floating-card strong {
        font-size: 0.8rem;
    }

    .floating-card span {
        display: none;
        /* Hide details on small screens to reduce clutter */
    }

    .card-top-right {
        right: -10px;
        top: 5%;
    }

    .card-mid-left {
        left: -10px;
        top: 35%;
    }

    .card-bottom-left {
        left: 0;
        bottom: 10%;
    }

    .card-bottom-right {
        right: -5px;
        bottom: 30%;
    }

    .hero-main-img {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Features/Process Section */
.features {
    padding: 80px 0;
    background: transparent;
    /* Allow body BG */
    border-radius: 40px 40px 0 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '✨';
    position: absolute;
    top: -15px;
    right: -25px;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 70px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid white;
    box-shadow: var(--shadow-sm);
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: white;
}

.process-icon-img {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 24px;
    display: inline-block;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
}

.process-card:hover .process-icon-img {
    transform: scale(1.05);
}

.process-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Model Filter Tabs (Price List Page) */
.model-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    margin-top: 20px;
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover:not(.active) {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Live Price Section */
.live-prices {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.price-card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.price-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-soft);
}

.phone-info h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.phone-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.price-tag {
    font-weight: 700;
    color: var(--money-color);
    font-size: 1.2rem;
    background: #E8F5E9;
    padding: 6px 14px;
    border-radius: 12px;
}

/* Footer */
footer {
    background-color: white;
    padding: 80px 0 30px;
    margin-top: 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary-dark);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Hard override color for price table classes to be black */
.text-success,
.text-danger,
.price-col {
    color: #000000 !important;
}

/*
- [/] Refine Logo using Icon + CSS Styled Text (In Progress)
- [ ] Fix Navbar Layout and Logo Sizing
- [ ] Provide final PNG download link
- [ ] Final Deployment
*/

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Navbar Mobile: Horizontal Scroll */
    .navbar {
        height: auto;
        padding: 10px 0;
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-col {
        text-align: left;
    }

    .footer-col h4 {
        margin-bottom: 15px;
    }

    .nav-links {
        display: flex;
        gap: 15px;
        /* Tighter gap */
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        /* Scrollbar spacing */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .nav-links::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .nav-links a {
        font-size: 0.95rem;
        padding: 5px 8px;
        /* Slightly larger tap target */
        background: #f8fafc;
        /* Subtle background to look like tabs */
        border-radius: 8px;
    }

    /* Hero Mobile */
    .hero {
        padding: 60px 0;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Smaller for mobile */
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
        width: 100%;
    }

    /* Process Mobile */
    .process-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Wizard Mobile Polish */
    .wizard-container {
        padding: 20px !important;
        /* Force smaller padding */
    }

    .selection-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols for choices is better than 1 */
        gap: 10px;
    }

    .selection-card {
        padding: 15px;
        /* Compact cards */
    }

    .card-icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .card-title {
        font-size: 0.95rem;
    }

    /* Defect list vertical on mobile */
    #defect-section .selection-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        /* Full width buttons for easy tap */
        padding: 16px;
    }
}

/* Latest Models Section */
.latest-prices {
    padding: 60px 0 40px;
    background-color: white;
}

.highlight-card {
    border: 2px solid var(--primary-color);
    background: linear-gradient(to bottom right, #fff, #FFF0F5);
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-left: 6px;
    vertical-align: middle;
}

.badge-new {
    background-color: #FF5252;
    color: white;
}


/* PhoneGabi Style Selection Cards */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.selection-card {
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.selection-card:hover {
    border-color: #BBDEFB;
    background-color: #F8FDFF;
}

.selection-card.active {
    border-color: #2196F3;
    background-color: white;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

/* PhoneGabi Style Check Buttons */
.btn-check-opt {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    width: 100%;
}

.btn-check-opt:hover {
    background: #f8f9fa;
    border-color: #bbb;
}

.btn-check-opt.active {
    background: #E3F2FD;
    border-color: #2196F3;
    color: #1976D2;
    font-weight: 700;
}


/* Checkmark Badge for Active Card */
.selection-card.active::after {
    content: '✔';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 24px;
    height: 24px;
    background: #2196F3;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Process Icons Styling */
.process-icon-img {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    /* Apply Rose Gold Filter to black icons */
    filter: invert(78%) sepia(16%) saturate(1630%) hue-rotate(300deg) brightness(101%) contrast(102%);
    transition: transform 0.3s ease;
}

.process-card:hover .process-icon-img {
    transform: scale(1.1) rotate(5deg);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.card-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.card-icon-img {
    height: 40px;
    width: auto;
    max-width: 100%;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.card-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Defect Checkbox Style */
.defect-card {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.defect-card.active {
    border-color: #F44336;
    /* Red for defects */
}

.defect-card.active::after {
    background: #F44336;
    content: '⚠️';
}

.back-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 10px;
    text-decoration: underline;
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 20px;
}

/* Floating Action Buttons Container */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column-reverse;
    /* Stack from bottom */
    gap: 15px;
    z-index: 9999;
}

/* Shared Button Styles */
.float-btn,
.kakao-chat-btn {
    position: relative;
    bottom: auto;
    right: auto;
    width: auto;
    min-width: 60px;
    height: 60px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    padding: 0 20px 0 15px;
    gap: 8px;
}

.btn-label {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Kakao Button Specifics */
.kakao-chat-btn {
    background-color: #FEE500;
    color: #3c1e1e;
}

.kakao-chat-btn svg {
    width: 30px;
    height: 30px;
    fill: #3c1e1e;
}

/* Phone Button Specifics */
.phone-btn {
    background-color: #ffffff;
    border: 1px solid #ddd;
    color: #333;
}

.phone-btn svg {
    width: 24px;
    height: 24px;
    fill: #333;
}

/* Hover Effects */
.float-btn:hover,
.kakao-chat-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Tooltips - Hidden now as text is visible */
.float-tooltip,
.kakao-tooltip {
    display: none;
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .float-btn,
    .kakao-chat-btn {
        height: 50px;
        padding: 0 15px 0 12px;
        min-width: auto;
    }

    .btn-label {
        font-size: 0.9rem;
    }

    .kakao-chat-btn svg {
        width: 24px;
        height: 24px;
    }

    .phone-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Review Cards */

/* Grade Price List Styles */
.grade-list-container {
    padding: 10px;
}

.grade-list-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.grade-list-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.grade-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.grade-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
}

.grade-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #777;
}

.grade-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--money-color);
}

.grade-detail {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    color: #555;
    background: #fafafa;
    border-top: 1px solid #eee;
    display: none;
    /* Hidden by default */
}

.grade-row.active+.grade-detail {
    display: block;
}

/* Terms Box Styles */
.terms-box ul {
    padding-left: 20px;
    margin: 0;
}

.terms-box li {
    margin-bottom: 5px;
}