/* GPS for Action - Professional Stylesheet */

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

:root {
    --dji-red: #E52426;
    --dji-red-dark: #c71f21;
    --dark-gray: #1a1a1a;
    --medium-gray: #2d2d2d;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-medium: #555;
    --text-light: #7f8c8d;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--light-gray);
    overflow-x: hidden;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(229, 36, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(229, 36, 38, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

header .container {
    position: relative;
    z-index: 1;
}

.app-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--dji-red) 0%, var(--dji-red-dark) 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    box-shadow:
        0 20px 40px rgba(229, 36, 38, 0.3),
        0 0 0 8px rgba(255, 255, 255, 0.1);
    animation: float 3s ease-in-out infinite;
}

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

h1 {
    font-size: 3.5em;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.25em;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.version {
    margin-top: 20px;
    opacity: 0.7;
    font-size: 0.95em;
    font-weight: 500;
}

/* Main Content */
main {
    padding: 80px 0;
    background: var(--white);
    margin-top: -40px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
    z-index: 2;
}

section {
    margin-bottom: 100px;
}

section:last-of-type {
    margin-bottom: 60px;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15em;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Comparison Table */
.comparison-table-wrap {
    max-width: 820px;
    margin: 48px auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    table-layout: fixed;
}

.comparison-table .feature-col {
    width: 46%;
}

.comparison-table .dji-col {
    width: 27%;
}

.comparison-table .app-col {
    width: 27%;
    background: #fff8f8;
}

/* Header row */
.comparison-table thead th {
    padding: 28px 20px 24px;
    text-align: center;
    vertical-align: top;
    border-bottom: 2px solid var(--border-color);
    background: #fafafa;
}

.comparison-table thead th.app-col {
    background: #fff0f0;
    border-bottom-color: var(--dji-red);
    position: relative;
}

.ct-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dji-ct-icon {
    background: #e8e8e8;
    color: #888;
    font-size: 1.4em;
}

.ct-name {
    font-size: 0.95em;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 6px;
}

.ct-price {
    font-size: 0.85em;
    color: var(--text-light);
    font-weight: 500;
}

.app-ct-price {
    color: #27ae60;
    font-weight: 700;
}

.ct-badge {
    display: inline-block;
    margin-top: 10px;
    background: var(--dji-red);
    color: white;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 14px;
    border-radius: 50px;
}

/* Body rows */
.comparison-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: #fafafa;
}

.comparison-table tbody tr:hover td.app-col {
    background: #fff0f0;
}

.comparison-table tbody td {
    padding: 15px 20px;
    font-size: 1.0em;
    vertical-align: middle;
}

.comparison-table tbody td.feature-col {
    color: var(--text-dark);
    font-weight: 500;
}

.comparison-table tbody td.check {
    text-align: center;
    color: #27ae60;
    font-weight: 600;
    font-size: 0.95em;
}

.comparison-table tbody td.cross {
    text-align: center;
    color: #ccc;
    font-size: 0.95em;
}

.comparison-table tbody td.check i {
    color: #27ae60;
    margin-right: 4px;
}

.comparison-table tbody td.cross i {
    color: #ddd;
}

.td-note {
    display: block;
    font-size: 0.78em;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 2px;
}

/* Price Comparison Bar */
.comparison-price-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 32px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef1f5 100%);
    border-top: 2px solid var(--border-color);
}

.price-card {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 20px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--white);
}

.price-card-dji {
    opacity: 0.7;
}

.price-card-app {
    border-color: var(--dji-red);
    box-shadow: 0 4px 16px rgba(229, 36, 38, 0.15);
    position: relative;
}

.price-card-label {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.price-card-amount {
    font-size: 2.2em;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
}

.price-card-app .price-card-amount {
    color: var(--dji-red);
}

.price-card-period {
    font-size: 0.4em;
    font-weight: 500;
    color: var(--text-light);
    vertical-align: baseline;
}

.price-card-detail {
    font-size: 0.85em;
    color: var(--text-light);
    margin-top: 6px;
    font-weight: 500;
}

.price-vs {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.comparison-savings {
    text-align: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f0faf4 100%);
    color: #1a5e30;
    font-size: 1.1em;
    font-weight: 500;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-top: 1px solid #a5d6b0;
}

.comparison-savings i {
    margin-right: 8px;
    color: #27ae60;
}

.comparison-savings strong {
    font-weight: 800;
    font-size: 1.15em;
}

@media (max-width: 600px) {
    .comparison-table .feature-col { width: 44%; }
    .comparison-table .dji-col,
    .comparison-table .app-col { width: 28%; }
    .comparison-table tbody td { padding: 12px 10px; font-size: 0.9em; }
    .comparison-table thead th { padding: 20px 10px 18px; }
    .ct-icon { width: 40px; height: 40px; }
    .ct-name { font-size: 0.85em; }
    .td-note { display: none; }
    .comparison-price-bar { flex-direction: column; gap: 12px; padding: 24px 16px; }
    .price-card { max-width: 100%; width: 100%; }
    .price-card-amount { font-size: 1.8em; }
    .price-vs { font-size: 0.9em; }
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dji-red) 0%, var(--dji-red-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--dji-red);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--dji-red);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 36, 38, 0.08);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: rgba(229, 36, 38, 0.12);
}

.feature-card h3 {
    font-size: 1.4em;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1.05em;
}

/* Purpose Section */
.purpose-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.purpose-content p {
    font-size: 1.15em;
    line-height: 1.85;
    color: var(--text-medium);
    text-align: center;
}

.purpose-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 36px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.ph-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    border-right: 1px solid var(--border-color);
}

.ph-item:last-child {
    border-right: none;
}

.ph-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.4em;
    position: relative;
}

.ph-no {
    background: rgba(229, 36, 38, 0.08);
    color: var(--dji-red);
}

.ph-no::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 2px;
    background: var(--dji-red);
    transform: rotate(-45deg);
    border-radius: 2px;
}

.ph-yes {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.ph-label {
    font-size: 0.95em;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.ph-sub {
    font-size: 0.82em;
    color: var(--text-light);
    margin-top: 4px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .purpose-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 0;
    }
    .ph-item {
        border-right: none;
    }
    .ph-item:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }
    .ph-item:nth-child(1),
    .ph-item:nth-child(2) {
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-color);
    }
}

/* Privacy CTA */
.privacy-cta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 36px;
    background: linear-gradient(135deg, #f0faf4 0%, #e8f5e9 100%);
    border: 1px solid #a5d6b0;
    border-radius: var(--radius-md);
    padding: 20px 28px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-cta > i {
    font-size: 2em;
    color: #27ae60;
    flex-shrink: 0;
}

.privacy-cta > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.privacy-cta strong {
    font-size: 1.0em;
    color: #1a5e30;
    font-weight: 700;
}

.privacy-cta span {
    font-size: 0.9em;
    color: #4a7c5a;
}

.privacy-cta a {
    color: #27ae60;
    font-weight: 600;
    text-decoration: none;
}

.privacy-cta a:hover {
    text-decoration: underline;
}

/* Camera List */
.camera-list {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin: 0 auto;
}

.camera-list ul {
    list-style: none;
}

.camera-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    font-size: 1.15em;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.camera-list li:last-child {
    border-bottom: none;
}

.camera-list li:hover {
    padding-left: 10px;
    color: var(--dji-red);
}

.camera-list li i {
    margin-right: 16px;
    font-size: 1.3em;
    color: var(--dji-red);
    width: 28px;
}

/* Steps */
.steps {
    max-width: 850px;
    margin: 0 auto;
}

.step {
    background: var(--white);
    padding: 32px 36px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: start;
    gap: 24px;
    transition: all 0.3s ease;
}

.step:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.step-number {
    background: linear-gradient(135deg, var(--dji-red) 0%, var(--dji-red-dark) 100%);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.3em;
    box-shadow: 0 4px 12px rgba(229, 36, 38, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 1.3em;
    font-weight: 600;
}

.step-content p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 1.05em;
}

/* Notes Grid */
.notes-grid {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.note-card {
    display: flex;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.note-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: #ccc;
}

.note-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

.note-icon-warn {
    background: rgba(255, 152, 0, 0.1);
    color: #f57c00;
}

.note-icon-info {
    background: rgba(52, 73, 94, 0.08);
    color: #34495e;
}

.note-body h3 {
    font-size: 1.05em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.note-body p {
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--text-medium);
}

.note-tip {
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(243, 156, 18, 0.06);
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

.note-tip i {
    color: #f39c12;
    margin-right: 6px;
}

@media (max-width: 600px) {
    .note-card {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dji-red) 0%, var(--dji-red-dark) 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
    border-radius: var(--radius-lg);
    margin-top: 80px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.15em;
    margin-top: 16px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--dji-red);
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15em;
    margin-top: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.cta-button i {
    margin-right: 10px;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: white;
    text-align: center;
    padding: 40px 24px;
    margin-top: 0;
}

footer p {
    opacity: 0.85;
    font-size: 0.95em;
    line-height: 1.6;
}

footer p:first-child {
    font-weight: 500;
}

footer p + p {
    margin-top: 12px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8em;
    }

    h2 {
        font-size: 2.2em;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 60px 0 80px;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.9em;
    }

    .tagline {
        font-size: 1.1em;
    }

    main {
        padding: 60px 0;
    }

    section {
        margin-bottom: 70px;
    }

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

    .feature-card {
        padding: 32px 24px;
    }

    .purpose-content,
    .camera-list,
    .important-box {
        padding: 32px 24px;
    }

    .step {
        flex-direction: column;
        padding: 24px;
    }

    .step:hover {
        transform: translateX(0);
    }

    .cta-section {
        padding: 60px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.6em;
    }

    .app-icon {
        width: 100px;
        height: 100px;
        font-size: 44px;
    }

    .feature-card h3 {
        font-size: 1.2em;
    }

    .cta-button {
        padding: 16px 36px;
        font-size: 1em;
    }
}
