:root {
    --bg-color: #050a10;
    --text-color: #e2e8f0;
    --accent-gold: #fbbf24;
    --accent-blue: #38bdf8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .en-title {
    font-family: 'Outfit', sans-serif;
}

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

/* Cursor Effect */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent-blue);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 999;
    transition: transform 0.2s ease;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 999;
    transition: transform 0.1s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a2332 0%, #050a10 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
}

.hero .highlight {
    color: var(--accent-blue);
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    z-index: 1;
}

.hero .project-info {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    z-index: 1;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: var(--accent-blue);
    color: #000;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
}

.scroll-indicator span {
    display: block;
    width: 6px;
    height: 6px;
    background: #fff;
    margin: 10px auto;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(20px); }
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
}

.en-title {
    display: block;
    font-size: 1rem;
    color: #64748b;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    font-weight: 300;
}

/* Glassmorphism Cards */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-layout .full-width {
    grid-column: 1 / -1;
}

.card h3 {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.card p {
    color: #cbd5e1;
}

.sub-text {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

/* Strategy Cards */
.strategy-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.strategy-card {
    flex: 1 1 300px;
    background: linear-gradient(145deg, #0f172a, #050a10);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #1e293b;
    text-align: center;
    transition: all 0.3s ease;
}

.strategy-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.strategy-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.strategy-card h3 {
    margin-bottom: 1rem;
    color: #fff;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px; /* Adjust for mobile */
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-gold));
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 60px;
}

.time-badge {
    position: absolute;
    left: -40px;
    top: 0;
    background: var(--accent-blue);
    color: #000;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
    z-index: 2;
    white-space: nowrap;
}

.timeline-item .content {
    border-left: 4px solid var(--accent-gold);
}

.visuals h4, .key-text h4 {
    color: #94a3b8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 1.5rem 0 0.5rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.2rem;
    display: inline-block;
}

.visuals ul {
    list-style: none;
    padding-left: 0;
}

.visuals li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.visuals li::before {
    content: '•';
    color: var(--accent-blue);
    position: absolute;
    left: 0;
}

.key-text p {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.benefit-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.9rem;
}

/* Animations */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .timeline::before { left: 10px; }
    .timeline-item { padding-left: 40px; }
    .time-badge { position: relative; left: 0; display: inline-block; margin-bottom: 1rem; }
    .benefits-grid { grid-template-columns: 1fr; }
}

/* Quotation Section */
.quotation-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 50px rgba(251, 191, 36, 0.05);
}

.quotation-card .strategy-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.quotation-card .strategy-header h3 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.quotation-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.quotation-table th {
    text-align: left;
    padding: 1rem;
    color: var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.quotation-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}

.quotation-table .sub-text {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    margin-top: 0.3rem;
}

.quotation-table .price-col {
    text-align: right;
    width: 150px;
}

.quotation-table .price {
    text-align: right;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #e2e8f0;
    font-size: 1.2rem;
}

.quotation-table tfoot td {
    border-top: 2px solid var(--accent-gold);
    border-bottom: none;
    padding-top: 2rem;
}

.quotation-table .total-label {
    text-align: right;
    font-size: 1.2rem;
    padding-right: 2rem;
    color: var(--accent-gold);
}

.quotation-table .total-price {
    text-align: right;
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.notes {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.notes p {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.notes ul {
    padding-left: 1.5rem;
    list-style: none;
}

.notes li::before {
    content: '►';
    color: var(--accent-gold);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .quotation-card { padding: 1.5rem; }
    .quotation-table th { display: none; }
    .quotation-table td { display: block; padding: 0.5rem 0; border: none; }
    .quotation-table tr { display: block; margin-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 1rem; }
    .quotation-table .price { text-align: left; color: var(--accent-gold); margin-top: 0.5rem; }
    .quotation-table .total-label { text-align: left; padding-right: 0; }
    .quotation-table .total-price { text-align: left; font-size: 1.5rem; }
}

.note-text {
    color: #f97316;
    font-size: 0.9em;
}
