* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.container {
    max-width: 400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .container {
        max-width: 450px;
        margin-top: 20px;
    }
}

.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
    overflow: hidden;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.stock-chart {
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        transparent 0%, 
        #4ade80 20%, 
        #22c55e 40%, 
        #16a34a 60%, 
        #15803d 80%, 
        transparent 100%);
    clip-path: polygon(0% 80%, 15% 60%, 30% 40%, 45% 55%, 60% 25%, 75% 35%, 90% 15%, 100% 20%, 100% 100%, 0% 100%);
    animation: chartGlow 3s ease-in-out infinite;
}

@keyframes chartGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.content {
    padding: 30px 25px;
}

.section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
    margin-right: 10px;
}

/* Google Ads Compliance Styles */
.compliance-notice {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #dc2626;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    animation: attentionPulse 3s ease-in-out infinite;
}

.compliance-notice h2 {
    color: #dc2626;
    font-size: 18px;
    margin-bottom: 15px;
}

.compliance-notice p {
    color: #991b1b;
    font-size: 14px;
    line-height: 1.6;
}

@keyframes attentionPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.1); }
}

.benefits {
    list-style: none;
}

.benefit-item {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    border-left: 4px solid #667eea;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideIn 0.6s ease-out forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }
.benefit-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.highlight {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: 20px 0;
    border: 2px solid #f59e0b;
    position: relative;
    overflow: hidden;
}

.highlight::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #f59e0b, #d97706, #b45309, #92400e);
    border-radius: 15px;
    z-index: -1;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.highlight-text {
    font-size: 18px;
    font-weight: bold;
    color: #92400e;
    margin-bottom: 10px;
}

.highlight-subtext {
    font-size: 14px;
    color: #b45309;
}

.cta-button {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 18px 30px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before,
.cta-button:focus::before {
    left: 100%;
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    outline: none;
}

.stats {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #4ade80;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

.testimonial {
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    padding: 20px;
    border-radius: 15px;
    margin: 15px 0;
    border-left: 4px solid #0288d1;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.testimonial-text {
    font-style: italic;
    color: #0d47a1;
    margin-bottom: 10px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: #01579b;
    font-size: 14px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #06b6d4, #0891b2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
}

.service-card {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    padding: 20px;
    border-radius: 15px;
    margin: 15px 0;
    border: 2px solid #a855f7;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-title {
    font-size: 18px;
    font-weight: bold;
    color: #6b21a8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-description {
    color: #7c3aed;
    font-size: 14px;
    line-height: 1.6;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.faq-item {
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.faq-question {
    padding: 15px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    cursor: pointer;
    font-weight: bold;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover,
.faq-question:focus {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    outline: none;
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #475569;
    line-height: 1.6;
}

.faq-answer.active {
    padding: 15px;
    max-height: 200px;
}

.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-icon {
    position: absolute;
    font-size: 20px;
    opacity: 0.1;
    animation: floatIcon 15s linear infinite;
}

.floating-icon:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    left: 30%;
    animation-delay: 3s;
}

.floating-icon:nth-child(3) {
    left: 50%;
    animation-delay: 6s;
}

.floating-icon:nth-child(4) {
    left: 70%;
    animation-delay: 9s;
}

.floating-icon:nth-child(5) {
    left: 90%;
    animation-delay: 12s;
}

@keyframes floatIcon {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

.footer {
    background: #1f2937;
    color: white;
    padding: 20px 25px;
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
}

.image-container {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.chart-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 12px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

.feature-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 15px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.success-chart {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #065f46, #047857);
    border-radius: 12px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

.risk-warning {
    background: #fef2f2;
    border: 2px solid #dc2626;
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
    font-size: 14px;
    color: #991b1b;
    line-height: 1.6;
}

.risk-warning h3 {
    color: #dc2626;
    font-size: 16px;
    margin-bottom: 15px;
}

.floating-button-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.floating-button {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floatingButtonPulse 2s infinite;
    cursor: pointer;
    border: none;
    font-size: 14px;
    white-space: nowrap;
}

.floating-button:hover,
.floating-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
    outline: none;
}

@keyframes floatingButtonPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.faq-question:focus,
.cta-button:focus,
.floating-button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .container {
        border: 2px solid;
    }
    
    .section-title::before {
        background: currentColor;
    }
}
